From a0b32f475368730067f063113ffbc4315e12ad91 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 23 Apr 2009 09:11:37 +0000 Subject: 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. --- sbin/pflogd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin') 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 -- cgit v1.1