pkgsrc-Changes archive

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

CVS commit: pkgsrc/benchmarks/netperf



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Sep 28 12:57:17 UTC 2021

Modified Files:
        pkgsrc/benchmarks/netperf: Makefile

Log Message:
netperf: Support GCC >= 10.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/benchmarks/netperf/Makefile

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

Modified files:

Index: pkgsrc/benchmarks/netperf/Makefile
diff -u pkgsrc/benchmarks/netperf/Makefile:1.15 pkgsrc/benchmarks/netperf/Makefile:1.16
--- pkgsrc/benchmarks/netperf/Makefile:1.15     Wed Apr 21 09:16:32 2021
+++ pkgsrc/benchmarks/netperf/Makefile  Tue Sep 28 12:57:17 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2021/04/21 09:16:32 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2021/09/28 12:57:17 jperkin Exp $
 
 DISTNAME=      netperf-2.7.0
 CATEGORIES=    benchmarks
@@ -17,7 +17,7 @@ CFLAGS.IRIX+=         -DIRIX
 
 .include "../../mk/compiler.mk"
 
-.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 .else
 CFLAGS.SunOS+=         -D_XOPEN_SOURCE=500 -D__EXTENSIONS__



Home | Main Index | Thread Index | Old Index