stdenv: Stripping out/lib32 too

If not, in mips64/n32, lib32/libiberty.a was left without stripping, and
it contained (debug) references to bootstrap-tools.
This commit is contained in:
Lluís Batlle i Rossell 2012-12-27 23:36:01 +01:00
parent 636303797f
commit 095db9fe3f

View file

@ -725,7 +725,7 @@ fixupPhase() {
# TODO: strip _only_ ELF executables, and return || fail here...
if [ -z "$dontStrip" ]; then
stripDebugList=${stripDebugList:-lib lib64 libexec bin sbin}
stripDebugList=${stripDebugList:-lib lib32 lib64 libexec bin sbin}
if [ -n "$stripDebugList" ]; then
stripDirs "$stripDebugList" "${stripDebugFlags:--S}"
fi