NetBSD/usr.sbin/pf/Makefile.inc
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00

13 lines
348 B
Makefile

# $NetBSD: Makefile.inc,v 1.8 2011/05/26 12:56:34 joerg Exp $
WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
CWARNFLAGS.clang+= -Wno-tautological-compare
CPPFLAGS+= -include ${.CURDIR}/../compat_openbsd.h
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
USE_FORT?=yes # network client *and* setuid