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 | 063bd165d394c21eef10370a6a38bd2924db379f (patch) | |
tree | 32e24522f09f2f4a0c8eda37470d45b226a79301 | |
parent | 93dff6152caa4b62a6f9d2a28807e0530c00965e (diff) | |
download | pkgsrc-063bd165d394c21eef10370a6a38bd2924db379f.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.
-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 |