From 111b640ed1f5f14aa58526c41c4e37788ddb5683 Mon Sep 17 00:00:00 2001 From: marino Date: Tue, 9 Oct 2012 17:32:33 +0000 Subject: 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. --- cross/mingw-binutils/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cross/mingw-binutils') 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 -- cgit v1.2.3