libzpool: use CFLAGS.lz4.c to build lz4.o and lz4.pico

Clean up this Makefile a bit.
This commit is contained in:
Toomas Soome 2019-12-02 15:37:06 +00:00
parent 750d951f5a
commit b0ad855d40

View File

@ -66,8 +66,7 @@ CFLAGS+= -DWANTS_MUTEX_OWNED
CFLAGS+= -I${SRCTOP}/lib/libpthread/thread
CFLAGS+= -I${SRCTOP}/lib/libpthread/sys
CFLAGS+= -I${SRCTOP}/lib/libthr/arch/${MACHINE_CPUARCH}/include
CFLAGS.lz4.o+= -D_FAKE_KERNEL
CFLAGS.lz4.pico+= -D_FAKE_KERNEL
CFLAGS.lz4.c+= -D_FAKE_KERNEL
CFLAGS.gcc+= -fms-extensions
LIBADD= md pthread z nvpair avl umem