diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-09-16 23:23:33 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-09-16 23:23:33 +0200 |
commit | 5de2857a54b74907b4817203dc31f2deb12a9d45 (patch) | |
tree | 14af9ab8b3f62548833abdc76cee6f4a0fae27b8 /pkgs/development/compilers/gcc/5 | |
parent | 8610a344740776639f7161e5a47196418695d6fe (diff) | |
download | nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.tar nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.tar.gz nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.tar.bz2 nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.tar.lz nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.tar.xz nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.tar.zst nixlib-5de2857a54b74907b4817203dc31f2deb12a9d45.zip |
gcc*: use stdenv.cc.libc instead of stdenv.libc
The latter doesn't exist on Linux.
Diffstat (limited to 'pkgs/development/compilers/gcc/5')
-rw-r--r-- | pkgs/development/compilers/gcc/5/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/5/default.nix b/pkgs/development/compilers/gcc/5/default.nix index c1db89d7c384..3d75c0e76daa 100644 --- a/pkgs/development/compilers/gcc/5/default.nix +++ b/pkgs/development/compilers/gcc/5/default.nix @@ -366,7 +366,7 @@ stdenv.mkDerivation ({ ${if cross == null then if stdenv.isDarwin then " --with-native-system-header-dir=${darwin.usr-include}" - else " --with-native-system-header-dir=${getDev stdenv.libc}/include" + else " --with-native-system-header-dir=${getDev stdenv.cc.libc}/include" else ""} ${if langAda then " --enable-libada" else ""} ${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""} |