* Remove references from some GCC header file on powerpc.

svn path=/nixpkgs/trunk/; revision=6888
This commit is contained in:
Eelco Dolstra 2006-10-28 13:32:49 +00:00
parent 770517edbb
commit 64f8e95cf8

View file

@ -8,6 +8,9 @@ ensureDir $out/on-server
ensureDir $out/check-only
export PATH=$coreutils/bin:$PATH # !!! temporary hack
nukeRefs() {
# Dirty, disgusting, but it works ;-)
fileName=$1
@ -96,6 +99,7 @@ fi
rm -rf gcc/lib/gcc/*/*/install-tools
rm -rf gcc/lib/gcc/*/*/include/root
rm -rf gcc/lib/gcc/*/*/include/linux
nukeRefs gcc/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/bits/mathdef.h
# Create the glibc tarball.