summaryrefslogtreecommitdiffstats
path: root/pkgs/stdenv/linux/make-bootstrap-tools.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-09-23 14:54:09 -0500
committerWill Dietz <w@wdtz.org>2018-09-23 14:54:09 -0500
commit4d9f9f171b776ede7765aabb4cd4ae588f9fbf68 (patch)
treef78e5b5e153411aae4960c8645d6ee1e4ff67bf4 /pkgs/stdenv/linux/make-bootstrap-tools.nix
parent095ef623d917f3bbd3e560e8ff9f2a6e953fa7ca (diff)
make-bootstrap-tools: fix with latest coreutils
Since gcc.lib/lib64 is a symlink to 'lib', the use of "lib*/libgcc_s.so*" triggered a warning (error) with the latest coreutils. Essentially we were doing: $ cp a/x b/x y/ And latest coreutils rejects such invocations. Just copy from 'lib', lib64 is a link to it anyway. * Nothing else in this file bothers looking at lib* * AFAICT lib* only ever possibly matched lib64 anyway
Diffstat (limited to 'pkgs/stdenv/linux/make-bootstrap-tools.nix')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 4fc9999b538c..59ded9d81108 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -112,8 +112,8 @@ in with pkgs; rec {
cp -d ${gcc.cc.out}/bin/gcc $out/bin
cp -d ${gcc.cc.out}/bin/cpp $out/bin
cp -d ${gcc.cc.out}/bin/g++ $out/bin
- cp -d ${gcc.cc.lib}/lib*/libgcc_s.so* $out/lib
- cp -d ${gcc.cc.lib}/lib*/libstdc++.so* $out/lib
+ cp -d ${gcc.cc.lib}/lib/libgcc_s.so* $out/lib
+ cp -d ${gcc.cc.lib}/lib/libstdc++.so* $out/lib
cp -rd ${gcc.cc.out}/lib/gcc $out/lib
chmod -R u+w $out/lib
rm -f $out/lib/gcc/*/*/include*/linux