From a6d3ed3074219da2030194e01a2cfd93fbf9073a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 24 Oct 2006 12:45:55 +0000 Subject: [PATCH] * Copy gcc's lib64 to the bootstrap tarball. svn path=/nixpkgs/trunk/; revision=6819 --- pkgs/stdenv/linux/make-bootstrap-tools.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.sh b/pkgs/stdenv/linux/make-bootstrap-tools.sh index 7de85b724e21..fce5d280da30 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.sh +++ b/pkgs/stdenv/linux/make-bootstrap-tools.sh @@ -85,6 +85,11 @@ nukeRefs gcc/libexec/gcc/*/*/cc1 nukeRefs gcc/libexec/gcc/*/*/collect2 rm -f gcc/lib/libmud* gcc/lib/libiberty* gcc/lib/libssp* nukeRefs gcc/lib/libgcc_s.so.1 +if test -e $gcc/lib64; then + cp -prd $gcc/lib64 gcc + chmod -R +w gcc/lib64 + nukeRefs gcc/lib64/libgcc_s.so.1 +fi rm -rf gcc/lib/gcc/*/*/install-tools rm -rf gcc/lib/gcc/*/*/include/root rm -rf gcc/lib/gcc/*/*/include/linux