From 050b3ff753e04ce142ac751a0d76b5ee3beda9c5 Mon Sep 17 00:00:00 2001 From: Ryan Libby Date: Sat, 2 May 2026 09:59:06 -0700 Subject: [PATCH] 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 --- cddl/lib/libzpool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/lib/libzpool/Makefile b/cddl/lib/libzpool/Makefile index db09d33e19b..0c997e38d37 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