From ab8637a85feb0cb8ca3a317f983e590da158196e Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 26 May 2011 12:56:24 +0000 Subject: 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. --- gnu/usr.bin/diffutils/diff/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin/diffutils/diff') diff --git a/gnu/usr.bin/diffutils/diff/Makefile b/gnu/usr.bin/diffutils/diff/Makefile index 63c758d650b..edf0b7a68e4 100644 --- a/gnu/usr.bin/diffutils/diff/Makefile +++ b/gnu/usr.bin/diffutils/diff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/11/10 17:36:08 christos Exp $ +# $NetBSD: Makefile,v 1.3 2011/05/26 12:56:27 joerg Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -17,5 +17,7 @@ TEXINFO= diff.texi COPTS.ifdef.c = -Wno-stack-protector +CWARNFLAGS.clang+= -Wno-unused-value + .include .include -- cgit