summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diffutils/diff
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2012-04-04 10:59:44 +0000
committerjoerg <joerg@NetBSD.org>2012-04-04 10:59:44 +0000
commit231b1fc79cda3a038f9b4cd83642966b14daf5cb (patch)
tree0ec5157c3bd0af494b96d70426bd24422c272e4e /gnu/usr.bin/diffutils/diff
parent13f62ddb211cd9e972d4464557777d01e3b6734b (diff)
Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active compiler first.
Diffstat (limited to 'gnu/usr.bin/diffutils/diff')
-rw-r--r--gnu/usr.bin/diffutils/diff/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/diffutils/diff/Makefile b/gnu/usr.bin/diffutils/diff/Makefile
index edf0b7a68e4..6f44c126b92 100644
--- a/gnu/usr.bin/diffutils/diff/Makefile
+++ b/gnu/usr.bin/diffutils/diff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/05/26 12:56:27 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2012/04/04 10:59:46 joerg Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -17,7 +17,7 @@ TEXINFO= diff.texi
COPTS.ifdef.c = -Wno-stack-protector
-CWARNFLAGS.clang+= -Wno-unused-value
+CWARNFLAGS.clang+= -Wno-unused-value -Wno-string-plus-int
.include <bsd.info.mk>
.include <bsd.prog.mk>