From 835f6b67bf65545db0259b6261aaae5a890be51f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 22 Jul 2019 09:15:01 +0200 Subject: [PATCH] Revert "strip setup hook: Strip using --strip-unneeded instead of --strip-debug." This broke the bootstrapping of Darwin. This reverts commit 3e867d16cde4ecf81d04d41acb99ea464f5c4663. --- pkgs/build-support/setup-hooks/strip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/setup-hooks/strip.sh b/pkgs/build-support/setup-hooks/strip.sh index a36caa268101..fc4c7bfbaf95 100644 --- a/pkgs/build-support/setup-hooks/strip.sh +++ b/pkgs/build-support/setup-hooks/strip.sh @@ -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:-}