gcc: Use the pre-C++11 ABI by default

This commit is contained in:
Eelco Dolstra 2016-02-28 17:52:32 +01:00
parent c388380bb4
commit 83011723af
2 changed files with 3 additions and 0 deletions

View File

@ -495,6 +495,8 @@ stdenv.mkDerivation ({
inherit (stdenv) is64bit;
setupHook = ./use-old-abi.sh;
meta = {
homepage = http://gcc.gnu.org/;
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+

View File

@ -0,0 +1 @@
NIX_CFLAGS_COMPILE+=" -D_GLIBCXX_USE_CXX11_ABI=0"