-Wno-error=maybe-uninitialized to allow compilation with gcc 5.3 on -current

This commit is contained in:
prlw1 2016-05-21 16:07:01 +00:00
parent 3986ab1b5b
commit aca0f2f116

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2016/05/12 15:42:58 bouyer Exp $
# $NetBSD: Makefile,v 1.15 2016/05/21 16:07:01 prlw1 Exp $
VERSION= 4.5.3
DISTNAME= xen-${VERSION}
@ -36,6 +36,9 @@ EXTRA_CFLAGS+= -Qunused-arguments -no-integrated-as -Wno-error=format \
-Wno-error=unused-function -Wno-error=unused-const-variable \
-Wno-error=ignored-attributes -Wno-error=initializer-overrides
.endif
.if !empty(PKGSRC_COMPILER:Mgcc)
EXTRA_CFLAGS+= -Wno-error=maybe-uninitialized
.endif
MAKE_ENV+= EXTRA_CFLAGS=${EXTRA_CFLAGS:Q}