Use --disable-werror with GCC 4.9, there are a number of issues which have

been fixed upstream, so we will remove this when binutils is updated.
This commit is contained in:
jperkin 2014-09-06 08:55:43 +00:00
parent a4c97eaf1e
commit 4f71a829de

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.64 2014/09/01 20:37:21 jperkin Exp $
# $NetBSD: Makefile,v 1.65 2014/09/06 08:55:43 jperkin Exp $
DISTNAME= binutils-2.24
PKGREVISION= 3
@ -77,6 +77,11 @@ CFLAGS+= -Wno-unused-value -Wno-format-security \
-Wno-empty-body -Wno-self-assign -Wno-unused-function
.endif
# Issue is fixed in upstream binutils, remove this when upgraded past 2.24
.if !empty(CC_VERSION:Mgcc-4.9.*)
CONFIGURE_ARGS+= --disable-werror
.endif
# Prevent the need to run texi2pod.pl and pod2man which would
# require perl as a build dependency.
post-configure: