svn commit: r381535 - head/lang/gcc5
John Marino
marino at FreeBSD.org
Wed Mar 18 10:39:06 UTC 2015
Author: marino
Date: Wed Mar 18 10:39:04 2015
New Revision: 381535
URL: https://svnweb.freebsd.org/changeset/ports/381535
QAT: https://qat.redports.org/buildarchive/r381535/
Log:
lang/gcc5: Support DragonFly's gcc50 base compiler in specific scenario
Modified:
head/lang/gcc5/Makefile.DragonFly
Modified: head/lang/gcc5/Makefile.DragonFly
==============================================================================
--- head/lang/gcc5/Makefile.DragonFly Wed Mar 18 09:55:00 2015 (r381534)
+++ head/lang/gcc5/Makefile.DragonFly Wed Mar 18 10:39:04 2015 (r381535)
@@ -1,3 +1,11 @@
# $FreeBSD$
OPTIONS_EXCLUDE= JAVA
+
+# The following modification to CXXFLAGS is needed in the case of DragonFly
+# 4.1+ building lang/gcc5 with the gcc50 base compiler when the system
+# libraries were built by the gcc47 base compiler. The sys.mk file
+# automatically adds -D_GLIBCXX_USE_CXX11_ABI=0 to CXXFLAGS in that case,
+# which will break the build.
+
+CXXFLAGS:= ${CXXFLAGS:N-D_GLIBCXX_USE_CXX11_ABI*}
More information about the svn-ports-all
mailing list