summary refs log tree commit diff
path: root/pkgs/stdenv/linux/make-bootstrap-tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/stdenv/linux/make-bootstrap-tools.sh')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.sh b/pkgs/stdenv/linux/make-bootstrap-tools.sh
index cadc2129b31..820e26f5d65 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.sh
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.sh
@@ -102,10 +102,10 @@ rm -rf gcc/lib/gcc/*/*/include/root
 rm -rf gcc/lib/gcc/*/*/include/linux
 if test "$system" = "powerpc-linux"; then
     nukeRefs gcc/lib/gcc/powerpc-unknown-linux-gnu/*/include/bits/mathdef.h
-    # Dangling symlink "sound", probably produced by fixinclude.
-    # Should investigate why it's there in the first place.
-    rm -f gcc/lib/gcc/powerpc-unknown-linux-gnu/*/include/sound
 fi
+# Dangling symlink "sound", probably produced by fixinclude.
+# Should investigate why it's there in the first place.
+rm -f gcc/lib/gcc/*/*/include/sound
 
 
 # Create the glibc tarball.
@@ -130,10 +130,8 @@ for i in glibc/include/asm-*; do
     rm $i
     cp -prd $target glibc/include
 done
-if test "$system" = "powerpc-linux"; then
-    # Hopefully we won't need these.
-    rm -f glibc/include/mtd glibc/include/rdma glibc/include/sound glibc/include/video
-fi
+# Hopefully we won't need these.
+rm -f glibc/include/mtd glibc/include/rdma glibc/include/sound glibc/include/video
 
 
 # Strip executables even further.