summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-02-21 00:09:50 +0000
committerjoerg <joerg@pkgsrc.org>2015-02-21 00:09:50 +0000
commit9b4a4c1bad2cf22862c0169cc8072c2bbd25e31f (patch)
treee34e6bf639573f82a8f23b66ff41bfa0025b9f86 /devel/binutils
parent1011cb9b04ad99f8ae60cee04a01e247cc482743 (diff)
downloadpkgsrc-9b4a4c1bad2cf22862c0169cc8072c2bbd25e31f.tar.gz
Allow unused static constants with clang.
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index ddfda06a0ac..a42217c2e58 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2015/01/04 02:14:10 dholland Exp $
+# $NetBSD: Makefile,v 1.67 2015/02/21 00:09:50 joerg Exp $
DISTNAME= binutils-2.24
PKGREVISION= 3
@@ -72,7 +72,8 @@ CFLAGS.OpenBSD+= -Wno-bounded
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -Wno-unused-value -Wno-format-security \
-Wno-uninitialized -Wno-format -Wno-string-plus-int \
- -Wno-empty-body -Wno-self-assign -Wno-unused-function
+ -Wno-empty-body -Wno-self-assign -Wno-unused-function \
+ -Wno-error=unused-const-variable
.endif
# Issue is fixed in upstream binutils, remove this when upgraded past 2.24