summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2017-08-18 12:44:13 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2017-08-18 12:44:13 +0000
commit502922cc241b9f87a7c44c741b073f3254f1d86f (patch)
tree47866f3cc943881aa7be59854e69d4fe3343fd3e /emulators
parentExplicitly pass -std=gnu++03 to the compiler. (diff)
Explicitly pass -std=gnu++03 to the compiler.
This fixes the build with GCC 6, which defaults to -std=gnu++14. The port's code does not work with C++11 or later. PR: 219275
Notes
Notes: svn path=/head/; revision=448225
Diffstat (limited to 'emulators')
-rw-r--r--emulators/pearpc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
index 041cb3396381..f53c97405d29 100644
--- a/emulators/pearpc/Makefile
+++ b/emulators/pearpc/Makefile
@@ -32,6 +32,8 @@ SDL_CONFIGURE_OFF= --enable-ui=x11
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
USE_GCC= yes
+# The port does not build with C++11 or later (bug 219275).
+USE_CXXSTD= gnu++03
.else
CONFIGURE_ARGS+= --enable-cpu=generic
.endif