summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-04-26 00:02:00 -0700
committerAdam Joseph <adam@westernsemico.com>2023-04-26 00:02:00 -0700
commit38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf (patch)
tree283879d3b55ac222992238a1170a58c7de58b721 /pkgs/stdenv
parent884ac294018409e0d1adc0cae185439a44bd6b0b (diff)
downloadnixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.tar
nixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.tar.gz
nixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.tar.bz2
nixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.tar.lz
nixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.tar.xz
nixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.tar.zst
nixpkgs-38f41a27b4eadf2eaf0e9913f266bc6a49a3cdaf.zip
stdenvBootstrapTools: drop no-longer-needed, now-broken cross clause
The comment stating that "GCC has certain things built in
statically" is no longer true as of
https://github.com/NixOS/nixpkgs/pull/209870.  Moreover, as pointed
out in https://github.com/NixOS/nixpkgs/pull/228130 this
optionalString block no longer builds for
pkgsCross.*.freshBootstrapTools.

It is safe to drop this clause now.
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 091130ebf93..d6815093d45 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -158,12 +158,6 @@ in with pkgs; rec {
         cp -d ${libmpc.out}/lib/libmpc*.so* $out/lib
         cp -d ${zlib.out}/lib/libz.so* $out/lib
 
-      '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
-        # These needed for cross but not native tools because the stdenv
-        # GCC has certain things built in statically. See
-        # pkgs/stdenv/linux/default.nix for the details.
-        cp -d ${isl_0_20.out}/lib/libisl*.so* $out/lib
-
       '' + lib.optionalString (stdenv.hostPlatform.isRiscV) ''
         # libatomic is required on RiscV platform for C/C++ atomics and pthread
         # even though they may be translated into native instructions.