summaryrefslogtreecommitdiff
path: root/benchmarks/netperf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/netperf/Makefile')
-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__