mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
svn path=/nixpkgs/branches/stdenv-updates/; revision=13602
This commit is contained in:
parent
e31341510d
commit
cdc74e1677
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ stripDirs() {
|
|||
|
||||
if test -n "${dirs}"; then
|
||||
header "stripping (with flags $stripFlags) in $dirs"
|
||||
find $dirs -type f -print0 | xargs -0 strip $stripFlags || true
|
||||
find $dirs -type f -print0 | xargs -0 -r strip $stripFlags || true
|
||||
stopNest
|
||||
fi
|
||||
}
|
||||
|
@ -713,7 +713,7 @@ fixupPhase() {
|
|||
|
||||
# TODO: strip _only_ ELF executables, and return || fail here...
|
||||
if test -z "$dontStrip"; then
|
||||
stripDebugList=${stripDebugList:-lib bin sbin}
|
||||
stripDebugList=${stripDebugList:-lib libexec bin sbin}
|
||||
if test -n "$stripDebugList"; then
|
||||
stripDirs "$stripDebugList" "${stripDebugFlags:--S}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue