summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-04-23 09:11:37 +0000
committered <ed@FreeBSD.org>2009-04-23 09:11:37 +0000
commita0b32f475368730067f063113ffbc4315e12ad91 (patch)
tree65b9caf4d4826bb451d324b7a2e921ebfdcb4cfe /sbin
parentecbce5102df1829eb877dc27f25b7cea46f38cd4 (diff)
downloadFreeBSD-src-a0b32f475368730067f063113ffbc4315e12ad91.zip
FreeBSD-src-a0b32f475368730067f063113ffbc4315e12ad91.tar.gz
Let pflogd's Makefile just use WARNS instead of changing CFLAGS.
This change allows me to disable -Werror by using NO_WERROR. Right now I can't build pflogd using Clang, because Clang generates more warnings when passing -Wall.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pflogd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pflogd/Makefile b/sbin/pflogd/Makefile
index 01c41d0..861ac6f 100644
--- a/sbin/pflogd/Makefile
+++ b/sbin/pflogd/Makefile
@@ -6,8 +6,9 @@ PROG= pflogd
SRCS= pflogd.c pidfile.c privsep.c privsep_fdpass.c
MAN= pflogd.8
-CFLAGS+=-Wall -Werror -Wmissing-prototypes -Wshadow
LDADD= -lpcap -lutil
DPADD= ${LIBPCAP} ${LIBUTIL}
+WARNS?= 2
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud