summary refs log tree commit diff
path: root/pkgs/stdenv/generic
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2012-12-27 23:36:01 +0100
committerLluís Batlle i Rossell <viric@viric.name>2012-12-27 23:36:01 +0100
commit095db9fe3f221b7ed91df5a426b42df172f69420 (patch)
tree18dc984a2a0f2acfb63b839382fc57498cd5a545 /pkgs/stdenv/generic
parent636303797fa55c6c99de11d3c5a6ff3657fe4ecd (diff)
downloadnixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.tar
nixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.tar.gz
nixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.tar.bz2
nixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.tar.lz
nixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.tar.xz
nixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.tar.zst
nixpkgs-095db9fe3f221b7ed91df5a426b42df172f69420.zip
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.
Diffstat (limited to 'pkgs/stdenv/generic')
-rw-r--r--pkgs/stdenv/generic/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index 230694ccf35..a6816f8ba1d 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -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