summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/11/default.nix
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-02-01 07:39:45 +0000
committerSergei Trofimovich <slyich@gmail.com>2023-02-01 07:42:11 +0000
commitb8b5fc1463033d7d4aadefafc7f2b091d8415382 (patch)
treebf3839e111f8846317c56b0ba528d149b9842e47 /pkgs/development/compilers/gcc/11/default.nix
parent117178971aacd81dfb1cc62e7f3bca747aa17b15 (diff)
downloadnixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.tar
nixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.tar.gz
nixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.tar.bz2
nixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.tar.lz
nixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.tar.xz
nixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.tar.zst
nixpkgs-b8b5fc1463033d7d4aadefafc7f2b091d8415382.zip
gcc: revert "provide both native and cross forms of gcc.libs libraries"
This reverts commit 2c931bd5f404162c15de10dca8e476e5469b2994.

The https://github.com/NixOS/nixpkgs/pull/209153 reverted --sysroot=/
change as it broke other astects of library search paths.

While it might still be useful to pull in gcc libraries when
non-standard --sysroot= is passed there are no meaningful use cases of
it in `nixpkgs` yet. Let's revert it for now.
Diffstat (limited to 'pkgs/development/compilers/gcc/11/default.nix')
-rw-r--r--pkgs/development/compilers/gcc/11/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/11/default.nix b/pkgs/development/compilers/gcc/11/default.nix
index 20da9a97aa5..43fb799b6c5 100644
--- a/pkgs/development/compilers/gcc/11/default.nix
+++ b/pkgs/development/compilers/gcc/11/default.nix
@@ -234,7 +234,6 @@ stdenv.mkDerivation ({
   };
 
   targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
-  targetPlatformConfig = targetPlatform.config;
 
   buildFlags = optional
     (targetPlatform == hostPlatform && hostPlatform == buildPlatform)