diff options
author | marino <marino@pkgsrc.org> | 2012-10-09 17:32:33 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-10-09 17:32:33 +0000 |
commit | 111b640ed1f5f14aa58526c41c4e37788ddb5683 (patch) | |
tree | 32e24522f09f2f4a0c8eda37470d45b226a79301 /cross | |
parent | dc0ddc6f5189b702cd3811c83461de49c77eb9b1 (diff) | |
download | pkgsrc-111b640ed1f5f14aa58526c41c4e37788ddb5683.tar.gz |
cross/mingw-binutils: Alternative fix for gcc47
Although the claim that using the -Wno-unused-but-set-variable flag
breaks the build for older GCCs is unsubstantiated at this time, the
previous fix for gcc47 is removed in favor of deleting -Werror which
is exactly what the cross/binutils makefile does.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/mingw-binutils/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cross/mingw-binutils/Makefile b/cross/mingw-binutils/Makefile index 2b87b413b2b..8ed09f27002 100644 --- a/cross/mingw-binutils/Makefile +++ b/cross/mingw-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/10/09 07:48:20 marino Exp $ +# $NetBSD: Makefile,v 1.5 2012/10/09 17:32:33 marino Exp $ DISTNAME= binutils-2.18 PKGNAME= mingw-${DISTNAME:S/-src//} @@ -17,8 +17,7 @@ USE_CROSSBASE= yes USE_TOOLS+= pax INFO_FILES= yes -# Required to pass -Werror on gcc4.7 -CFLAGS+= -Wno-unused-but-set-variable +BUILDLINK_TRANSFORM+= rm:-Werror post-install: .for f in windres dllwrap |