loader: Don't need add these flags to ZSTD_SRC

These are zfs-only flags, don't add them when we're building ZSTD.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D57860
This commit is contained in:
Warner Losh committed 2026-06-26 08:54:35 -06:00
1 parent 1e49aa7a98
commit 01ef8f4555
1 file changed
+1 -1
+1 -1
View File
@@ -42,7 +42,7 @@ ZFS_EARLY= -I${SAZFSSRC}/spl \
# has a bunch of defines that are present in OpenSolaris / Illumos, but missing
# from FreeBSD.
#
.for i in ${ZFS_SRC} ${ZSTD_SRC}
.for i in ${ZFS_SRC}
CFLAGS.$i+= -include ${ZFSTOP}/include/sys/simd_config.h \
-include ${ZFSOSINC}/spl/sys/ccompile.h \
-Wformat -Wall -I${ZFSTOP}/include \