git.iko.soy/typeable/nixpkgs
on master help sign in
gcc-cross-wrapper: Fix include path
22cc540Ben Gamari
pkgs/build-support/gcc-cross-wrapper/builder.sh+1−1
@@ -8,7 +8,7 @@ mkdir $out/nix-support
8cflagsCompile="-B$out/bin/"
8cflagsCompile="-B$out/bin/"
9
9
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.?'`