diff options
author | marino <marino> | 2012-10-09 07:48:20 +0000 |
---|---|---|
committer | marino <marino> | 2012-10-09 07:48:20 +0000 |
commit | 81cd6658212bdcf8f4ed228773a05a0790b04707 (patch) | |
tree | 15919b79cf4fb16629c884e810122d39ba3e3047 /cross | |
parent | 6ab92ab6ba98d74771cae480cf0a16300e4ef652 (diff) | |
download | pkgsrc-81cd6658212bdcf8f4ed228773a05a0790b04707.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} \ |