Fixing the gcc-cross-wrapper (wanting to make it work with uclibc, I had
broken it for glibc). Now I tested that it works for both. svn path=/nixpkgs/trunk/; revision=20519
This commit is contained in:
parent
12e960f592
commit
8c2af71a0f
@ -7,8 +7,11 @@ cflagsCompile="-B$out/bin/"
|
||||
if test -z "$nativeLibc"; then
|
||||
cflagsCompile="$cflagsCompile -B$libc/lib/ -isystem $libc/include"
|
||||
ldflags="$ldflags -L$libc/lib"
|
||||
# Get the proper dynamic linker for glibc and uclibc.
|
||||
dlinker=`eval 'echo $libc/lib/ld-*.so.?'`
|
||||
ldflagsBefore="-dynamic-linker $dlinker"
|
||||
if [ -n "$dlinker" ]; then
|
||||
ldflagsBefore="-dynamic-linker $dlinker"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$nativeTools"; then
|
||||
|
Loading…
Reference in New Issue
Block a user