3
0
Fork 0
forked from mirrors/nixpkgs

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

This broke the bootstrapping of Darwin.

This reverts commit 3e867d16cd.
This commit is contained in:
Frederik Rietdijk 2019-07-22 09:15:01 +02:00
parent 950b7ed61a
commit 835f6b67bf

View file

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