* Fix GCC 3.3.

svn path=/nixpkgs/trunk/; revision=8478
This commit is contained in:
Eelco Dolstra 2007-03-29 13:37:39 +00:00
parent a7d27b2201
commit 61171e3f15

View File

@ -49,7 +49,10 @@ postConfigure() {
# Figure out what extra flags to pass to the gcc compilers
# being generated to make sure that they use our glibc.
extraFlags="$(cat $NIX_GCC/nix-support/libc-cflags) $(cat $NIX_GCC/nix-support/libc-ldflags) $(cat $NIX_GCC/nix-support/libc-ldflags-before)"
extraFlags="$(cat $NIX_GCC/nix-support/libc-cflags)"
for i in $(cat $NIX_GCC/nix-support/libc-ldflags) $(cat $NIX_GCC/nix-support/libc-ldflags-before); do
extraFlags="$extraFlags -Wl,$i"
done
# Use *real* header files, otherwise a limits.h is generated
# that does not include Glibc's limits.h (notably missing