summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/binutils/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 9c81b00818e..a83d8abf8fc 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2014/09/01 20:37:21 jperkin Exp $
+# $NetBSD: Makefile,v 1.65 2014/09/06 08:55:43 jperkin Exp $
DISTNAME= binutils-2.24
PKGREVISION= 3
@@ -77,6 +77,11 @@ CFLAGS+= -Wno-unused-value -Wno-format-security \
-Wno-empty-body -Wno-self-assign -Wno-unused-function
.endif
+# Issue is fixed in upstream binutils, remove this when upgraded past 2.24
+.if !empty(CC_VERSION:Mgcc-4.9.*)
+CONFIGURE_ARGS+= --disable-werror
+.endif
+
# Prevent the need to run texi2pod.pl and pod2man which would
# require perl as a build dependency.
post-configure: