From b9477da8028d4967307679587510e0eee9d534cc Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 4 Aug 2011 02:38:41 +0000 Subject: [PATCH] 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. --- tools/binutils/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/binutils/Makefile b/tools/binutils/Makefile index 88521bfe9bfd..0cf8730d10b3 100644 --- a/tools/binutils/Makefile +++ b/tools/binutils/Makefile @@ -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 @@ -17,6 +17,7 @@ BRANDING?= 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}