Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.
  • Loading branch information...
commit 5965da09cdd4f539edbb123986cad137cef5f56d 1 parent 1030d69
marino authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 cross/mingw-binutils/Makefile
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.