3
0
Fork 0
forked from mirrors/nixpkgs

cross: Add mingwW64-llvm cross-system.

This commit is contained in:
Shea Levy 2022-05-03 06:16:15 -04:00
parent b7b9b73760
commit 5c0654f262
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -301,6 +301,15 @@ rec {
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
};
# 64 bit mingw-w64 with a llvm-based toolchain targetting ucrt
#
# Inspired by mstorsjo/llvm-mingw
mingwW64-llvm = {
config = "x86_64-w64-mingw32";
libc = "ucrt";
useLLVM = true;
};
# BSDs
amd64-netbsd = lib.warn "The amd64-netbsd system example is deprecated. Use x86_64-netbsd instead." x86_64-netbsd;