aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libzpool/Makefile
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2019-12-02 15:37:06 +0000
committerToomas Soome <tsoome@FreeBSD.org>2019-12-02 15:37:06 +0000
commitb0ad855d403946cdea8f96287aeef1112d6c42bd (patch)
treecc90eecd9b757114103bd51c9b634149f3fe9a59 /cddl/lib/libzpool/Makefile
parent750d951f5aff7fbad1aff6229e8cba24d15c7406 (diff)
downloadsrc-b0ad855d403946cdea8f96287aeef1112d6c42bd.tar.gz
src-b0ad855d403946cdea8f96287aeef1112d6c42bd.zip
libzpool: use CFLAGS.lz4.c to build lz4.o and lz4.pico
Clean up this Makefile a bit.
Notes
Notes: svn path=/head/; revision=355291
Diffstat (limited to 'cddl/lib/libzpool/Makefile')
-rw-r--r--cddl/lib/libzpool/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile
index 50ece8668105..1c545e0260d1 100644
--- a/cddl/lib/libzpool/Makefile
+++ b/cddl/lib/libzpool/Makefile
@@ -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