diff options
author | prlw1 <prlw1@pkgsrc.org> | 2016-05-21 16:07:01 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2016-05-21 16:07:01 +0000 |
commit | 1122c36b840b841a22645055db022bf861532381 (patch) | |
tree | ffe676dfd7955089803d749579c1c3f2c15e9ce1 /sysutils | |
parent | a9f61671255497e92b3d3e2756eb86a3bf9c1649 (diff) | |
download | pkgsrc-1122c36b840b841a22645055db022bf861532381.tar.gz |
-Wno-error=maybe-uninitialized to allow compilation with gcc 5.3 on -current
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xenkernel45/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/xenkernel45/Makefile b/sysutils/xenkernel45/Makefile index ff6f32cab2b..deb171c74a2 100644 --- a/sysutils/xenkernel45/Makefile +++ b/sysutils/xenkernel45/Makefile @@ -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} |