aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/pflogd
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-04-23 09:11:37 +0000
committerEd Schouten <ed@FreeBSD.org>2009-04-23 09:11:37 +0000
commit5e51cafc609cee6d76ae6f05cf2bb1f87894ec30 (patch)
tree65b9caf4d4826bb451d324b7a2e921ebfdcb4cfe /sbin/pflogd
parent2a72feb42b5cfbb556999f1e0a75ebb6ba7d78d0 (diff)
downloadsrc-5e51cafc609cee6d76ae6f05cf2bb1f87894ec30.tar.gz
src-5e51cafc609cee6d76ae6f05cf2bb1f87894ec30.zip
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.
Notes
Notes: svn path=/head/; revision=191415
Diffstat (limited to 'sbin/pflogd')
-rw-r--r--sbin/pflogd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/pflogd/Makefile b/sbin/pflogd/Makefile
index 01c41d0723f1..861ac6f4daec 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>