pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/netperf netperf: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9b03957e690
branches:  trunk
changeset: 459008:b9b03957e690
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 12:57:17 2021 +0000

description:
netperf: Support GCC >= 10.

diffstat:

 benchmarks/netperf/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 73818342686b -r b9b03957e690 benchmarks/netperf/Makefile
--- a/benchmarks/netperf/Makefile       Tue Sep 28 12:56:46 2021 +0000
+++ b/benchmarks/netperf/Makefile       Tue Sep 28 12:57:17 2021 +0000
@@ -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 @@
 
 .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