summaryrefslogtreecommitdiff
path: root/cross/mingw-binutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cross/mingw-binutils/Makefile')
-rw-r--r--cross/mingw-binutils/Makefile5
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} \