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:-}