git: 01ef8f4555cf - main - loader: Don't need add these flags to ZSTD_SRC

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 14:59:15 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=01ef8f4555cfa46c8030cf623e6e3e857fa25430

commit 01ef8f4555cfa46c8030cf623e6e3e857fa25430
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2026-06-26 14:45:37 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-06-26 14:54:35 +0000

    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
---
 stand/libsa/zfs/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/libsa/zfs/Makefile.inc b/stand/libsa/zfs/Makefile.inc
index 540635d144ef..b6faf46af236 100644
--- a/stand/libsa/zfs/Makefile.inc
+++ b/stand/libsa/zfs/Makefile.inc
@@ -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 \