mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
make-bootstrap-tools: add libssp to allow stack protector to work
This commit is contained in:
parent
a3eef895bb
commit
4478766b64
@ -123,6 +123,8 @@ in with pkgs; rec {
|
|||||||
cp -d ${bootGCC.out}/bin/g++ $out/bin
|
cp -d ${bootGCC.out}/bin/g++ $out/bin
|
||||||
cp -d ${bootGCC.lib}/lib/libgcc_s.so* $out/lib
|
cp -d ${bootGCC.lib}/lib/libgcc_s.so* $out/lib
|
||||||
cp -d ${bootGCC.lib}/lib/libstdc++.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
|
||||||
cp -rd ${bootGCC.out}/lib/gcc $out/lib
|
cp -rd ${bootGCC.out}/lib/gcc $out/lib
|
||||||
chmod -R u+w $out/lib
|
chmod -R u+w $out/lib
|
||||||
rm -f $out/lib/gcc/*/*/include*/linux
|
rm -f $out/lib/gcc/*/*/include*/linux
|
||||||
|
Loading…
Reference in New Issue
Block a user