llvmPackages_11: darwin cross compilation and bootstrapping

This commit is contained in:
Andrew Childs
2021-05-17 00:28:05 +09:00
parent c31591cf8b
commit 56fcbcd154
5 changed files with 33 additions and 14 deletions
+1
View File
@@ -14848,6 +14848,7 @@ in
inherit (stdenv.targetPlatform) libc;
in if libc == "msvcrt" then targetPackages.windows.mingw_w64_headers or windows.mingw_w64_headers
else if libc == "nblibc" then targetPackages.netbsdCross.headers or netbsdCross.headers
else if libc == "libSystem" && stdenv.targetPlatform.isAarch64 then targetPackages.darwin.LibsystemCross or darwin.LibsystemCross
else null;
# We can choose: