diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-04-02 05:28:27 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-04-02 13:49:53 -0700 |
commit | 86ca0faff759bb28901079e643c55c3f6a4ea47d (patch) | |
tree | ba8cbed83c40d03be8ba62470b0c7ff485a10067 | |
parent | c6bd37a69160e7e436d9b8fba1ff12d0678ccf1a (diff) |
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.
-rw-r--r-- | pkgs/stdenv/linux/make-bootstrap-tools.nix | 2 |
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 886465c10bb3c..107e4c43a9fa0 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 |