* gcc-wrapper: Propagate the wrapped gcc, binutils and glibc to the

user environment.  (NIXPKGS-63)

svn path=/nixpkgs/branches/stdenv-updates/; revision=10664
This commit is contained in:
Eelco Dolstra
2008-02-13 19:41:37 +00:00
parent 908d8286ce
commit 89815eb9a0
3 changed files with 26 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ preConfigure() {
for i in configure io/ftwtest-sh; do
# Can't use substituteInPlace here because replace hasn't been
# built yet in the bootstrap.
sed -i "$i" -e "s^/bin/pwd^$(type -tP pwd)^"
sed -i "$i" -e "s^/bin/pwd^$PWD_P^g"
done
# In the glibc 2.6/2.7 tarballs C-translit.h is a little bit older