pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/mingw-binutils cross/mingw-binutils: Alternative...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fffc8a9d024
branches:  trunk
changeset: 609760:7fffc8a9d024
user:      marino <marino%pkgsrc.org@localhost>
date:      Tue Oct 09 17:32:33 2012 +0000

description:
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.

diffstat:

 cross/mingw-binutils/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 59ab63430de9 -r 7fffc8a9d024 cross/mingw-binutils/Makefile
--- a/cross/mingw-binutils/Makefile     Tue Oct 09 17:25:16 2012 +0000
+++ b/cross/mingw-binutils/Makefile     Tue Oct 09 17:32:33 2012 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index