Page MenuHomeFreeBSD

D35887.id108481.diff
No OneTemporary

D35887.id108481.diff

diff --git a/stand/libsa/zfs/Makefile.inc b/stand/libsa/zfs/Makefile.inc
--- a/stand/libsa/zfs/Makefile.inc
+++ b/stand/libsa/zfs/Makefile.inc
@@ -20,13 +20,8 @@
ZSTD_SRC+= zstd_double_fast.c zstd_fast.c zstd_lazy.c zstd_ldm.c
ZSTD_SRC+= zstd_opt.c
-CFLAGS+= -DHAS_ZSTD_ZFS
SRCS+= ${ZFS_SRC} ${ZSTD_SRC}
-CFLAGS+= -I${LDRSRC}
-CFLAGS+= -I${SYSDIR}/cddl/boot/zfs
-CFLAGS+= -I${SYSDIR}/crypto/skein
-
#
# Any file that needs the FreeBSD overrides that are in
# include/os/freebssd/spl/XXX needs to have these added to
@@ -63,7 +58,11 @@
# Can't use the early flags because there's two conflicting definitions of boolean_t in
# the zfs code that need to be unified, as well as a number of other hacks for pre-openzfs
# code still in the tree that needs to be fixed.
-CFLAGS.zfs.c+= -I${ZFSOSINC}/spl \
+CFLAGS.zfs.c+= -DHAS_ZSTD_ZFS \
+ -I${SYSDIR}/cddl/boot/zfs \
+ -I${LDRSRC} \
+ -I${SYSDIR}/crypto/skein \
+ -I${ZFSOSINC}/spl \
-I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4 \
-I${ZFSOSINC}/zfs \
-I${OZFS}/include

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 3:51 PM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14741869
Default Alt Text
D35887.id108481.diff (1 KB)

Event Timeline