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.
This commit is contained in:
mrg 2011-08-04 02:38:41 +00:00
parent 28ae806329
commit b9477da802

View File

@ -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 @@ 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}