Source-Changes-HG archive

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

[src/trunk]: src/tools/binutils add --disable-werror. GCC 4.6 doesn't like s...



details:   https://anonhg.NetBSD.org/src/rev/0315500b9155
branches:  trunk
changeset: 767946:0315500b9155
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Aug 04 02:38:41 2011 +0000

description:
add --disable-werror.  GCC 4.6 doesn't like some of the code here and
rather than patching code to fix it (and one case isn't trivially fixable)
simply turn off -Werror by default here.  should fix PR#45140.

diffstat:

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

diffs (17 lines):

diff -r d83245d5fd92 -r 0315500b9155 tools/binutils/Makefile
--- a/tools/binutils/Makefile   Thu Aug 04 02:32:58 2011 +0000
+++ b/tools/binutils/Makefile   Thu Aug 04 02:38:41 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2011/03/24 13:33:42 joerg Exp $
+#      $NetBSD: Makefile,v 1.20 2011/08/04 02:38:41 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -17,6 +17,7 @@
 
 CONFIGURE_ARGS=        --target=${MACHINE_GNU_PLATFORM} --disable-nls \
                --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
+               --disable-werror \
                ${BRANDING}
 
 MAKE_ARGS=     MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}



Home | Main Index | Thread Index | Old Index