summaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-05-26 12:56:24 +0000
committerjoerg <joerg@NetBSD.org>2011-05-26 12:56:24 +0000
commitab8637a85feb0cb8ca3a317f983e590da158196e (patch)
tree35cf9a1b0b4b71986db94446a9f440e88c42d36b /usr.sbin/mrouted
parent0423d5d67fa30a04769b199f3056cdc98141ba1b (diff)
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
Diffstat (limited to 'usr.sbin/mrouted')
-rw-r--r--usr.sbin/mrouted/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/Makefile b/usr.sbin/mrouted/Makefile
index e26b8b97974..4869d739983 100644
--- a/usr.sbin/mrouted/Makefile
+++ b/usr.sbin/mrouted/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/05/28 12:06:38 tls Exp $
+# $NetBSD: Makefile,v 1.15 2011/05/26 12:56:34 joerg Exp $
# from: Id: Makefile,v 1.5 1993/06/24 05:11:16 deering Exp
.include <bsd.own.mk>
@@ -14,4 +14,6 @@ LDADD+= -lutil
DPADD+= ${LIBUTIL}
CPPFLAGS+= -I${.CURDIR}
+CWARNFLAGS.clang+= -Wno-format-extra-args
+
.include <bsd.prog.mk>