git: 3d2cda366261 - stable/14 - sys/conf: Re-add -Wno-unused to ipfilter build flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Aug 2025 13:20:17 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=3d2cda366261dd7fdd10b329a4d042fe839894b5
commit 3d2cda366261dd7fdd10b329a4d042fe839894b5
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-08-13 13:12:36 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-08-13 13:12:36 +0000
sys/conf: Re-add -Wno-unused to ipfilter build flags
This is still required on stable/14 because of the RCS tags defined at
the top of each source file.
This is a direct commit to stable/14.
Fixes: 0947920999dc ("files: add new IPFILTER_C rule for netpfil/ipfilter sources")
---
sys/conf/kern.pre.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 2eb3c166959d..ff19cd75d3ea 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -343,7 +343,7 @@ BNXT_C= ${BNXT_C_NOIMP} ${.IMPSRC}
# IP Filter
IPFILTER_CFLAGS= -I$S/netpfil/ipfilter
-IPFILTER_C= ${NORMAL_C} ${IPFILTER_CFLAGS}
+IPFILTER_C= ${NORMAL_C} -Wno-unused ${IPFILTER_CFLAGS}
GEN_CFILES= $S/$M/$M/genassym.c ${MFILES:T:S/.m$/.c/}
SYSTEM_CFILES= config.c env.c hints.c vnode_if.c