diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-10-24 18:26:23 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2006-10-24 18:26:23 +0000 |
commit | b342dcb13bae24e81c55327d4c5276c7ed73f8c8 (patch) | |
tree | 351527ea3f0cb7e5197ac4a00b79d882f89c3350 /pkgs/build-support/gcc-wrapper/setup-hook.sh | |
parent | 5f4f8766cfd3a46433855716011ba015711eddd6 (diff) |
* gcc-wrapper: separately store the flags necessary to find GCC and
Glibc. This is useful when building GCC. * gcc-wrapper: the dynamic linker has a different name on x86_64 and powerpc. * gcc-wrapper: "glibc" -> "libc", because someday we might support different C libraries. * gcc: don't do a multilib build (e.g., 32-bit support on x86_64), don't need it. * gcc: merge in support for static builds. * gcc: various simplifications in the compiler/linker flags, hope they work. svn path=/nixpkgs/trunk/; revision=6823
Diffstat (limited to 'pkgs/build-support/gcc-wrapper/setup-hook.sh')
-rw-r--r-- | pkgs/build-support/gcc-wrapper/setup-hook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/gcc-wrapper/setup-hook.sh b/pkgs/build-support/gcc-wrapper/setup-hook.sh index 1739d8dcae53e..60aad0fe4dc67 100644 --- a/pkgs/build-support/gcc-wrapper/setup-hook.sh +++ b/pkgs/build-support/gcc-wrapper/setup-hook.sh @@ -24,6 +24,6 @@ if test -n "@binutils@"; then PATH=$PATH:@binutils@/bin fi -if test -n "@glibc@"; then - PATH=$PATH:@glibc@/bin +if test -n "@libc@"; then + PATH=$PATH:@libc@/bin fi |