1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

lang/gcc5: Support DragonFly's gcc50 base compiler in specific scenario

This commit is contained in:
John Marino 2015-03-18 10:39:04 +00:00
parent b2e6644be3
commit 716e5c49e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381535

View File

@ -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*}