pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xenkernel45 Change compiler selection logic f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6eea64b94d0b
branches: trunk
changeset: 348566:6eea64b94d0b
user: prlw1 <prlw1%pkgsrc.org@localhost>
date: Thu Jun 16 09:58:19 2016 +0000
description:
Change compiler selection logic from "gcc 5" to "gcc >= 5"
(&& gcc == 0 was there such a thing?) as requested by joerg@
diffstat:
sysutils/xenkernel45/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7346714e9b81 -r 6eea64b94d0b sysutils/xenkernel45/Makefile
--- a/sysutils/xenkernel45/Makefile Thu Jun 16 09:24:42 2016 +0000
+++ b/sysutils/xenkernel45/Makefile Thu Jun 16 09:58:19 2016 +0000
@@ -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 @@
-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
Home |
Main Index |
Thread Index |
Old Index