summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-09-28 12:57:17 +0000
committerjperkin <jperkin@pkgsrc.org>2021-09-28 12:57:17 +0000
commit0148f4797566f75832e8530e5b7fd9e255032027 (patch)
tree41f85ed6be93b84babcd56c26261ff54a13f45fc /benchmarks
parenta0f3b8e0a8d3616a453966c850e2e540570d1b11 (diff)
downloadpkgsrc-0148f4797566f75832e8530e5b7fd9e255032027.tar.gz
netperf: Support GCC >= 10.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/netperf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile
index 2ac37c087d5..e744bd3d9a4 100644
--- a/benchmarks/netperf/Makefile
+++ b/benchmarks/netperf/Makefile
@@ -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__