diff options
author | Ben Wolsieffer <benwolsieffer@gmail.com> | 2020-02-10 23:54:16 -0500 |
---|---|---|
committer | Ben Wolsieffer <benwolsieffer@gmail.com> | 2020-02-18 22:40:30 -0500 |
commit | 4478766b64d6d86a0ff983249effc4eedd792294 (patch) | |
tree | 8bfc2b9a7a72fd2493614e4c2b129a6cb6be962d /pkgs/stdenv | |
parent | a3eef895bb68f8df5a8cdbc9e6deb6e49de110d9 (diff) |
make-bootstrap-tools: add libssp to allow stack protector to work
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/linux/make-bootstrap-tools.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix index 90a679756d77a..ec5f1092a469e 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix @@ -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 |