pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/xenkernel45



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Thu Jun 16 09:58:20 UTC 2016

Modified Files:
        pkgsrc/sysutils/xenkernel45: Makefile

Log Message:
Change compiler selection logic from "gcc 5" to "gcc >= 5"
(&& gcc == 0 was there such a thing?) as requested by joerg@


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/xenkernel45/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/xenkernel45/Makefile
diff -u pkgsrc/sysutils/xenkernel45/Makefile:1.16 pkgsrc/sysutils/xenkernel45/Makefile:1.17
--- pkgsrc/sysutils/xenkernel45/Makefile:1.16   Tue Jun 14 15:38:54 2016
+++ pkgsrc/sysutils/xenkernel45/Makefile        Thu Jun 16 09:58:19 2016
@@ -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-in
                -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