Skip to content

Commit

Permalink
strip: --strip-all in libexec, bin, sbin
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg authored and lukateras committed Oct 31, 2017
1 parent e2edcca commit 80f4640
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/build-support/setup-hooks/strip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ fixupOutputHooks+=(_doStrip)

_doStrip() {
if [ -z "$dontStrip" ]; then
stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin}
stripDebugList=${stripDebugList:-lib lib32 lib64}
if [ -n "$stripDebugList" ]; then
stripDirs "$stripDebugList" "${stripDebugFlags:--S}"
stripDirs "$stripDebugList" "${stripDebugFlags:--strip-debug --strip-unneeded}"
fi

stripAllList=${stripAllList:-}
stripAllList=${stripAllList:-libexec bin sbin}
if [ -n "$stripAllList" ]; then
stripDirs "$stripAllList" "${stripAllFlags:--s}"
stripDirs "$stripAllList" "${stripAllFlags:--strip-all}"
fi
fi
}
Expand Down

0 comments on commit 80f4640

Please sign in to comment.