aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2017-08-18 20:05:39 +0800
committerrakuco <rakuco@FreeBSD.org>2017-08-18 20:05:39 +0800
commit1c4adda386b3ad3fa7494c1e1225534c067b3d5c (patch)
tree0105aacdbd56df68b8a98f1bf77a1876bb274317 /benchmarks
parentc3df8d683760923c971d13cd2a9a244b3ee196e5 (diff)
downloadfreebsd-ports-gnome-1c4adda386b3ad3fa7494c1e1225534c067b3d5c.tar.gz
freebsd-ports-gnome-1c4adda386b3ad3fa7494c1e1225534c067b3d5c.tar.zst
freebsd-ports-gnome-1c4adda386b3ad3fa7494c1e1225534c067b3d5c.zip
Explicitly build with -std=gnu++03.
The port does not build with C++11 or later (GCC 6 defaults to -std=gnu++14 instead of -std=gnu++03). PR: 219275
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/polygraph/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmarks/polygraph/Makefile b/benchmarks/polygraph/Makefile
index 95ebf646e114..ae06d8de25ac 100644
--- a/benchmarks/polygraph/Makefile
+++ b/benchmarks/polygraph/Makefile
@@ -21,6 +21,9 @@ SHEBANG_FILES= tools/*.pl
USE_GCC= any
GNU_CONFIGURE= yes
+# The port does not build with C++11 or later (bug 219275).
+USE_CXXSTD= gnu++03
+
CONFLICTS= ltrace-0*
OPTIONS_DEFINE= DOCS GNUPLOT GSSAPI LDNS PERL SSL ZLIB