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
This commit is contained in:
parent
095ef623d9
commit
4d9f9f171b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user