gcc: Use the pre-C++11 ABI by default
This commit is contained in:
parent
c388380bb4
commit
83011723af
@ -495,6 +495,8 @@ stdenv.mkDerivation ({
|
|||||||
|
|
||||||
inherit (stdenv) is64bit;
|
inherit (stdenv) is64bit;
|
||||||
|
|
||||||
|
setupHook = ./use-old-abi.sh;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://gcc.gnu.org/;
|
homepage = http://gcc.gnu.org/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||||
|
1
pkgs/development/compilers/gcc/5/use-old-abi.sh
Normal file
1
pkgs/development/compilers/gcc/5/use-old-abi.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
NIX_CFLAGS_COMPILE+=" -D_GLIBCXX_USE_CXX11_ABI=0"
|
Loading…
x
Reference in New Issue
Block a user