@@ -8,7 +8,7 @@ mkdir $out/nix-support
8cflagsCompile="-B$out/bin/"
8cflagsCompile="-B$out/bin/"
10if test -z "$nativeLibc" -a -n "$libc"; then
10if test -z "$nativeLibc" -a -n "$libc"; then
11− cflagsCompile="$cflagsCompile -B$gccLibs/lib -B$libc/lib/ -isystem $libc/include"
11+ cflagsCompile="$cflagsCompile -B$gccLibs/lib -B$libc/lib/ -isystem $libc_dev/include"
12 ldflags="$ldflags -L$libc/lib"
12 ldflags="$ldflags -L$libc/lib"
13 # Get the proper dynamic linker for glibc and uclibc.
13 # Get the proper dynamic linker for glibc and uclibc.
14 dlinker=`eval 'echo $libc/lib/ld*.so.?'`
14 dlinker=`eval 'echo $libc/lib/ld*.so.?'`