cross GCC: Fix some paths to libc headers (after multiple outputs)

It's not completely clear to me why the path to libc headers is set
differently when cross building...
This commit is contained in:
Tuomas Tynkkynen
2016-06-11 04:15:17 +03:00
parent aaf008bda4
commit a06a405d0b
4 changed files with 10 additions and 6 deletions
@@ -96,6 +96,7 @@ stdenv.mkDerivation {
echo "-L${libc_lib}/lib" > $out/nix-support/libc-ldflags
echo "${libc_lib}" > $out/nix-support/orig-libc
echo "${libc_dev}" > $out/nix-support/orig-libc-dev
''
+ (if nativeTools then ''