blob: 9f125d751d47970b59d36526892852312a55c994 [file] [log] [blame] [raw]
Allow warning 'unused-but-set-variable' when building libipf.
diff -ru --exclude-from freebsd-src-diff-exclude-names /var/archive3/public/freebsd-releng-10.4-src/sbin/ipf/libipf/Makefile freebsd-10.4/sbin/ipf/libipf/Makefile
--- /var/archive3/public/freebsd-releng-10.4-src/sbin/ipf/libipf/Makefile 2017-09-29 08:21:18.000000000 +0800
+++ freebsd-10.4/sbin/ipf/libipf/Makefile 2020-01-26 10:35:16.438331000 +0800
@@ -3,6 +3,8 @@
LIB= ipf
INTERNALLIB=
+CFLAGS+= -Wno-error=unused-but-set-variable
+
SRCS= addicmp.c addipopt.c alist_free.c alist_new.c allocmbt.c \
assigndefined.c bcopywrap.c \
binprint.c buildopts.c checkrev.c connecttcp.c \