summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diffutils/lib/Makefile
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 /gnu/usr.bin/diffutils/lib/Makefile
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 'gnu/usr.bin/diffutils/lib/Makefile')
-rw-r--r--gnu/usr.bin/diffutils/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/diffutils/lib/Makefile b/gnu/usr.bin/diffutils/lib/Makefile
index cdaf4906181..de8e7421c17 100644
--- a/gnu/usr.bin/diffutils/lib/Makefile
+++ b/gnu/usr.bin/diffutils/lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/05/03 14:48:30 lukem Exp $
+# $NetBSD: Makefile,v 1.4 2011/05/26 12:56:28 joerg Exp $
LIBISPRIVATE= yes
@@ -14,4 +14,6 @@ SRCS= basename.c c-stack.c cmpbuf.c error.c exclude.c exitfail.c \
hard-locale.c imaxtostr.c offtostr.c prepargs.c posixver.c quotesys.c \
regex.c setmode.c strftime.c umaxtostr.c xmalloc.c xstrtoumax.c
+CWARNFLAGS.clang+= -Wno-unused-value -Wno-tautological-compare
+
.include <bsd.lib.mk>