aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2026-05-02 16:59:06 +0000
committerRyan Libby <rlibby@FreeBSD.org>2026-05-02 20:01:10 +0000
commit050b3ff753e04ce142ac751a0d76b5ee3beda9c5 (patch)
tree89c1adc8deb7213954394e887aefe582ece6e8e3
parenta6e527f893df2cbbd941839a93e50ae39ac0db55 (diff)
libzpool: force inlining of xxhash after removing xxhash.c
libzpool had a number of undefined symbols related to xxhash after xxhash.c was removed from the build. Fixes: 8a62a2a5659d ("zfs: merge openzfs/zfs@f8e5af53e") Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D56770
-rw-r--r--cddl/lib/libzpool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile
index db09d33e19b4..0c997e38d373 100644
--- a/cddl/lib/libzpool/Makefile
+++ b/cddl/lib/libzpool/Makefile
@@ -272,7 +272,7 @@ CFLAGS+= \
-include ${SRCTOP}/sys/modules/zfs/zfs_config.h \
-I${SRCTOP}/sys/modules/zfs \
-I${ZFSTOP}/include/os/freebsd/zfs \
- -DLIB_ZPOOL_BUILD -DZFS_DEBUG \
+ -DLIB_ZPOOL_BUILD -DZFS_DEBUG -DXXH_INLINE_ALL \
# XXX: pthread doesn't have mutex_owned() equivalent, so we need to look
# into libthr private structures. That's sooo evil, but it's only for