Skip to content

Commit

Permalink
Merge pull request #210741 from trofi/glibc-wipe-libgcc_s.so.1-ref
Browse files Browse the repository at this point in the history
libc: wipe out all references from copied libgcc_s.so.1
  • Loading branch information
trofi authored Jan 15, 2023
2 parents f867943 + 6728277 commit 3a3b623
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/glibc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ in
# rely on default RUNPATHs of the binary and other libraries
# Do no force-pull wrong glibc.
patchelf --remove-rpath $out/lib/libgcc_s.so.1
# 'patchelf' does not remove the string itself. Wipe out
# string reference to avoid possible link to bootstrapTools
${buildPackages.nukeReferences}/bin/nuke-refs $out/lib/libgcc_s.so.1
fi
'';

Expand Down

0 comments on commit 3a3b623

Please sign in to comment.