diff options
author | marino <marino@pkgsrc.org> | 2012-10-09 07:48:20 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-10-09 07:48:20 +0000 |
commit | 9ab87d737885fdc72b79f0566b7b1f48b9068827 (patch) | |
tree | 15919b79cf4fb16629c884e810122d39ba3e3047 /cross | |
parent | e9f4a1d8f8dcc589fc843457ce56d81880eaec6f (diff) | |
download | pkgsrc-9ab87d737885fdc72b79f0566b7b1f48b9068827.tar.gz |
cross/mingw-binutils: Fix build on gcc4.7
mingw-binutils is built with -Werror which fails on the gcc4.6+ warning
"unused but set variable". Disable that warning to fix gcc4.7 build.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/mingw-binutils/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cross/mingw-binutils/Makefile b/cross/mingw-binutils/Makefile index fdcdbcd0a4d..2b87b413b2b 100644 --- a/cross/mingw-binutils/Makefile +++ b/cross/mingw-binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2012/10/03 00:10:30 asau Exp $ +# $NetBSD: Makefile,v 1.4 2012/10/09 07:48:20 marino Exp $ DISTNAME= binutils-2.18 PKGNAME= mingw-${DISTNAME:S/-src//} @@ -17,6 +17,9 @@ USE_CROSSBASE= yes USE_TOOLS+= pax INFO_FILES= yes +# Required to pass -Werror on gcc4.7 +CFLAGS+= -Wno-unused-but-set-variable + post-install: .for f in windres dllwrap ${LN} -fs ${PREFIX}/bin/${MINGW_TARGET}-${f} \ |