mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
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;
|
||||
|
||||
setupHook = ./use-old-abi.sh;
|
||||
|
||||
meta = {
|
||||
homepage = http://gcc.gnu.org/;
|
||||
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…
Reference in New Issue
Block a user