From 64f8e95cf8b9f4cce80fae22ed8114ee99acb31d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 28 Oct 2006 13:32:49 +0000 Subject: [PATCH] * Remove references from some GCC header file on powerpc. svn path=/nixpkgs/trunk/; revision=6888 --- pkgs/stdenv/linux/make-bootstrap-tools.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.sh b/pkgs/stdenv/linux/make-bootstrap-tools.sh index 361e34771db3..9b3034e3052e 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.sh +++ b/pkgs/stdenv/linux/make-bootstrap-tools.sh @@ -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.