* Renamed orig-glibc -> orig-libc in some places, and in others, use

the new $NIX_GCC/nix-support/dynamic-linker file to locate the
  dynamic linker directly (don't hardcode ld-linux.so.2).

svn path=/nixpkgs/trunk/; revision=6873
This commit is contained in:
Eelco Dolstra
2006-10-27 12:43:32 +00:00
parent ee2b63c872
commit b90781ec21
13 changed files with 12 additions and 25 deletions
@@ -1,6 +1,6 @@
source $stdenv/setup
if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE"; then
if test "$NIX_ENFORCE_PURITY" = "1"; then
GLIBC=$(cat $NIX_GCC/nix-support/orig-libc)
extraflags="-Dlocincpth=$GLIBC/include -Dloclibpth=$GLIBC/lib"
fi