MFC r260039:
Turn off warnings about unused variables for a bunch of files under contrib/ipfilter.
This commit is contained in:
parent
d1cdc4fc9a
commit
66ceef72b9
@ -459,39 +459,39 @@ contrib/dev/acpica/components/utilities/utxferror.c optional acpi
|
||||
contrib/dev/acpica/components/utilities/utxfinit.c optional acpi
|
||||
#contrib/dev/acpica/components/utilities/utxfmutex.c optional acpi
|
||||
contrib/ipfilter/netinet/fil.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_auth.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_fil_freebsd.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_frag.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_log.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_nat.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_proxy.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_state.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_lookup.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-error -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} ${NO_WSELF_ASSIGN} -Wno-unused -Wno-error -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_pool.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_htable.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_sync.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/mlfk_ipl.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_nat6.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_rules.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_scan.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/ip_dstlist.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
compile-with "${NORMAL_C} -Wno-unused -I$S/contrib/ipfilter"
|
||||
contrib/ipfilter/netinet/radix_ipf.c optional ipfilter inet \
|
||||
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
|
||||
contrib/libfdt/fdt.c optional fdt
|
||||
|
@ -28,7 +28,18 @@ CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CWARNFLAGS.fil.c= ${NO_WSELF_ASSIGN}
|
||||
CWARNFLAGS.ip_proxy.c= ${NO_WSELF_ASSIGN}
|
||||
CWARNFLAGS.ip_lookup.c= ${NO_WSELF_ASSIGN}
|
||||
CWARNFLAGS.fil.c= ${NO_WSELF_ASSIGN} -Wno-unused
|
||||
CWARNFLAGS.ip_auth.c= -Wno-unused
|
||||
CWARNFLAGS.ip_fil_freebsd.c= -Wno-unused
|
||||
CWARNFLAGS.ip_frag.c= -Wno-unused
|
||||
CWARNFLAGS.ip_htable.c= -Wno-unused
|
||||
CWARNFLAGS.ip_dstlist.c= -Wno-unused
|
||||
CWARNFLAGS.ip_lookup.c= ${NO_WSELF_ASSIGN} -Wno-unused
|
||||
CWARNFLAGS.ip_nat.c= -Wno-unused
|
||||
CWARNFLAGS.ip_nat6.c= -Wno-unused
|
||||
CWARNFLAGS.ip_pool.c= -Wno-unused
|
||||
CWARNFLAGS.ip_proxy.c= ${NO_WSELF_ASSIGN} -Wno-unused
|
||||
CWARNFLAGS.ip_scan.c= -Wno-unused
|
||||
CWARNFLAGS.ip_state.c= -Wno-unused
|
||||
CWARNFLAGS.ip_sync.c= -Wno-unused
|
||||
CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}}
|
||||
|
Loading…
Reference in New Issue
Block a user