From cdc74e1677a6d21da0a72bdb21374ff11e4a2512 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 10 Dec 2008 10:12:32 +0000 Subject: [PATCH] svn path=/nixpkgs/branches/stdenv-updates/; revision=13602 --- pkgs/stdenv/generic/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index d3c3aa9620d..bb81e022d4d 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -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