Merge pull request #185530 from trofi/restore-stage-1-strip
nixos/stage-1: srestore striping of bin/ and lib/
This commit is contained in:
commit
925a9bb753
|
@ -219,7 +219,7 @@ let
|
||||||
|
|
||||||
# Strip binaries further than normal.
|
# Strip binaries further than normal.
|
||||||
chmod -R u+w $out
|
chmod -R u+w $out
|
||||||
stripDirs "$STRIP" "lib bin" "-s"
|
stripDirs "$STRIP" "$RANLIB" "lib bin" "-s"
|
||||||
|
|
||||||
# Run patchelf to make the programs refer to the copied libraries.
|
# Run patchelf to make the programs refer to the copied libraries.
|
||||||
find $out/bin $out/lib -type f | while read i; do
|
find $out/bin $out/lib -type f | while read i; do
|
||||||
|
|
Loading…
Reference in a new issue