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.
This commit is contained in:
parent
2a72feb42b
commit
5e51cafc60
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user