1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

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:
Ed Schouten 2009-04-23 09:11:37 +00:00
parent 2a72feb42b
commit 5e51cafc60
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191415

View File

@ -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>