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

wip/yesman
Eelco Dolstra 8 years ago
parent c388380bb4
commit 83011723af
  1. 2
      pkgs/development/compilers/gcc/5/default.nix
  2. 1
      pkgs/development/compilers/gcc/5/use-old-abi.sh

@ -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+

@ -0,0 +1 @@
NIX_CFLAGS_COMPILE+=" -D_GLIBCXX_USE_CXX11_ABI=0"
Loading…
Cancel
Save