Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2015 10:39:05 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381535 - head/lang/gcc5
Message-ID:  <201503181039.t2IAd5Bk091541@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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*}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503181039.t2IAd5Bk091541>