summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-04-02 05:28:27 -0700
committerAdam Joseph <adam@westernsemico.com>2023-04-02 13:49:53 -0700
commit86ca0faff759bb28901079e643c55c3f6a4ea47d (patch)
treeba8cbed83c40d03be8ba62470b0c7ff485a10067 /pkgs/stdenv/linux
parentc6bd37a69160e7e436d9b8fba1ff12d0678ccf1a (diff)
downloadnixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.tar
nixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.tar.gz
nixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.tar.bz2
nixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.tar.lz
nixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.tar.xz
nixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.tar.zst
nixpkgs-86ca0faff759bb28901079e643c55c3f6a4ea47d.zip
make-bootstrap-tools.nix: cp libgcc_s without -d
We do not want to preserve the symlinks from libgcc_s, since they
point to another outpath.  We want to copy from that outpath rather
than link to it.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 886465c10bb..107e4c43a9f 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -127,7 +127,7 @@ in with pkgs; rec {
         cp -d ${bootGCC.out}/bin/gcc $out/bin
         cp -d ${bootGCC.out}/bin/cpp $out/bin
         cp -d ${bootGCC.out}/bin/g++ $out/bin
-        cp -d ${bootGCC.lib}/lib/libgcc_s.so* $out/lib
+        cp    ${bootGCC.lib}/lib/libgcc_s.so* $out/lib
         cp -d ${bootGCC.lib}/lib/libstdc++.so* $out/lib
         cp -d ${bootGCC.out}/lib/libssp.a* $out/lib
         cp -d ${bootGCC.out}/lib/libssp_nonshared.a $out/lib