diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-06 08:55:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-06 08:55:43 +0000 |
commit | f2091a7e63aedac3e28672d1146cf7fe18c0e387 (patch) | |
tree | ee367aff0e938c939e9cd6a7dd9f4cda07f9ea41 | |
parent | b9195f5d11ad78e3dd3a8b5248ae23e03cd44de0 (diff) | |
download | pkgsrc-f2091a7e63aedac3e28672d1146cf7fe18c0e387.tar.gz |
Use --disable-werror with GCC 4.9, there are a number of issues which have
been fixed upstream, so we will remove this when binutils is updated.
-rw-r--r-- | devel/binutils/Makefile | 7 |
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: |