forked from mirrors/nixpkgs
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.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
|
||||
cp -rd ${bootGCC.out}/lib/gcc $out/lib
|
||||
chmod -R u+w $out/lib
|
||||
rm -f $out/lib/gcc/*/*/include*/linux
|
||||
|
|
Loading…
Reference in a new issue