sys.mk: Add _GLIBCXX_USE_CXX11_ABI=0 definition in some cases
authorJohn Marino <draco@marino.st>
Mon, 16 Feb 2015 13:18:38 +0000 (14:18 +0100)
committerJohn Marino <draco@marino.st>
Mon, 16 Feb 2015 14:21:10 +0000 (15:21 +0100)
commit7a1f111f6e64f28e7390df5dd028b0ce30babd55
treeda95577884f4b74582da5f2cf54444e4040ac1ec
parent6682d8f03835736e2d0aa968a1774b43b8dfb14d
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.
Makefile.inc1
share/mk/sys.mk