svn commit: r448225 - head/emulators/pearpc
Raphael Kubo da Costa
rakuco at FreeBSD.org
Fri Aug 18 12:44:15 UTC 2017
Author: rakuco
Date: Fri Aug 18 12:44:13 2017
New Revision: 448225
URL: https://svnweb.freebsd.org/changeset/ports/448225
Log:
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
Modified:
head/emulators/pearpc/Makefile
Modified: head/emulators/pearpc/Makefile
==============================================================================
--- head/emulators/pearpc/Makefile Fri Aug 18 12:34:07 2017 (r448224)
+++ head/emulators/pearpc/Makefile Fri Aug 18 12:44:13 2017 (r448225)
@@ -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
More information about the svn-ports-head
mailing list