git: Add _GLIBCXX_USE_CXX11_ABI=0 definition in some cases

John Marino marino at
Mon Feb 16 06:21:30 PST 2015

commit 7a1f111f6e64f28e7390df5dd028b0ce30babd55
Author: John Marino <draco at>
Date:   Mon Feb 16 14:18:38 2015 +0100 Add _GLIBCXX_USE_CXX11_ABI=0 definition in some cases
    When the world is built by gcc47, and 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/ |  3 +++
 2 files changed, 18 insertions(+), 14 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list