mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 21:42:35 +03:00
* Fix GCC 3.3.
svn path=/nixpkgs/trunk/; revision=8478
This commit is contained in:
parent
a7d27b2201
commit
61171e3f15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user