git: sys.mk: Add _GLIBCXX_USE_CXX11_ABI=0 definition in some cases
John Marino
marino at crater.dragonflybsd.org
Mon Feb 16 06:21:30 PST 2015
commit 7a1f111f6e64f28e7390df5dd028b0ce30babd55
Author: John Marino <draco at marino.st>
Date: Mon Feb 16 14:18:38 2015 +0100
sys.mk: Add _GLIBCXX_USE_CXX11_ABI=0 definition in some cases
When the world is built by gcc47, and sys.mk isn't being used to build
the system, the CXXFLAGS will have -D_GLIBCXX_USE_CXX11_ABI=0 added to
it to force gcc50 to use the c++ ABI that gcc47 used when building the
system libraries.
If the world was built with gcc50, the system libraries were built
against the new c++ ABI so this flag would not be added in that case.
Due to new SYSBUILD definition in Makefile.inc1, this flag is never
added during the build of the world.
Summary of changes:
Makefile.inc1 | 29 +++++++++++++++--------------
share/mk/sys.mk | 3 +++
2 files changed, 18 insertions(+), 14 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a1f111f6e64f28e7390df5dd028b0ce30babd55
--
DragonFly BSD source repository
More information about the Commits
mailing list