* Fix gcc 3.3.

svn path=/nixpkgs/trunk/; revision=6898
This commit is contained in:
Eelco Dolstra 2006-10-28 23:41:45 +00:00
parent 000755f72e
commit 0b78c04601

View File

@ -40,8 +40,8 @@ postConfigure() {
if test "$noSysDirs" = "1"; then if test "$noSysDirs" = "1"; then
# Patch some of the makefiles to force linking against our own # Patch some of the makefiles to force linking against our own
# glibc. # glibc.
if test -e $NIX_GCC/nix-support/orig-glibc; then if test -e $NIX_GCC/nix-support/orig-libc; then
glibc=$(cat $NIX_GCC/nix-support/orig-glibc) glibc=$(cat $NIX_GCC/nix-support/orig-libc)
# Ugh. Copied from gcc-wrapper/builder.sh. We can't just # Ugh. Copied from gcc-wrapper/builder.sh. We can't just
# source in $NIX_GCC/nix-support/add-flags, since that # source in $NIX_GCC/nix-support/add-flags, since that
# would cause *this* GCC to be linked against the # would cause *this* GCC to be linked against the