1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

strip setup hook: Strip using --strip-unneeded instead of --strip-debug.

This commit is contained in:
Ambroz Bizjak 2019-07-09 20:53:25 +02:00 committed by Frederik Rietdijk
parent 325f37f935
commit 3e867d16cd

View file

@ -25,7 +25,7 @@ _doStrip() {
stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin}
if [ -n "$stripDebugList" ]; then
stripDirs "$stripCmd" "$stripDebugList" "${stripDebugFlags:--S}"
stripDirs "$stripCmd" "$stripDebugList" "${stripDebugFlags:---strip-unneeded}"
fi
stripAllList=${stripAllList:-}