Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2009 09:11:37 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191415 - head/sbin/pflogd
Message-ID:  <200904230911.n3N9BbMR081681@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Thu Apr 23 09:11:37 2009
New Revision: 191415
URL: http://svn.freebsd.org/changeset/base/191415

Log:
  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.

Modified:
  head/sbin/pflogd/Makefile

Modified: head/sbin/pflogd/Makefile
==============================================================================
--- head/sbin/pflogd/Makefile	Thu Apr 23 08:37:56 2009	(r191414)
+++ head/sbin/pflogd/Makefile	Thu Apr 23 09:11:37 2009	(r191415)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904230911.n3N9BbMR081681>