* Don't use substite() here, because the bash binary in the bootstrap
tools (4.1.2) seems to have performance problems doing pattern substitutions on large strings (it takes several minutes on binutils' Makefile.in). Bash 4.2 seems to be fine. svn path=/nixpkgs/branches/stdenv-updates/; revision=31698
This commit is contained in:
parent
3fa83e15e7
commit
0e353fdd5a
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
# Use symlinks instead of hard links to save space ("strip" in the
|
||||
# fixup phase strips each hard link separately).
|
||||
for i in binutils/Makefile.in gas/Makefile.in ld/Makefile.in; do
|
||||
substituteInPlace $i --replace 'ln ' 'ln -s '
|
||||
set -i "$i" 's|ln |ln -s |'
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue