diff options
author | prlw1 <prlw1@pkgsrc.org> | 2016-06-16 09:58:19 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2016-06-16 09:58:19 +0000 |
commit | ffbd2943f23091d8efaf1fa671f65698e57e89ef (patch) | |
tree | 12aa063ec9928edbce365f069bbba7eff9ce990d /sysutils/xenkernel45 | |
parent | 555cfbdd556635b1f0af4f5937f80f080201e970 (diff) | |
download | pkgsrc-ffbd2943f23091d8efaf1fa671f65698e57e89ef.tar.gz |
Change compiler selection logic from "gcc 5" to "gcc >= 5"
(&& gcc == 0 was there such a thing?) as requested by joerg@
Diffstat (limited to 'sysutils/xenkernel45')
-rw-r--r-- | sysutils/xenkernel45/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/xenkernel45/Makefile b/sysutils/xenkernel45/Makefile index 3322ee848a1..b1cd83882ec 100644 --- a/sysutils/xenkernel45/Makefile +++ b/sysutils/xenkernel45/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2016/06/14 15:38:54 prlw1 Exp $ +# $NetBSD: Makefile,v 1.17 2016/06/16 09:58:19 prlw1 Exp $ VERSION= 4.5.3 DISTNAME= xen-${VERSION} @@ -36,7 +36,7 @@ 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(CC_VERSION:Mgcc-5*) +.if !empty(PKGSRC_COMPILER:Mgcc) && empty(CC_VERSION:Mgcc-[1-4].*) EXTRA_CFLAGS+= -Wno-error=maybe-uninitialized .endif |