mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
windows.mingw_w64: fix building on arm
This commit is contained in:
parent
3d51188a76
commit
b57c78d026
@ -25,6 +25,11 @@ stdenv.mkDerivation {
|
|||||||
(lib.enableFeature true "idl")
|
(lib.enableFeature true "idl")
|
||||||
(lib.enableFeature true "secure-api")
|
(lib.enableFeature true "secure-api")
|
||||||
(lib.withFeatureAs true "default-msvcrt" crt)
|
(lib.withFeatureAs true "default-msvcrt" crt)
|
||||||
|
|
||||||
|
# Including other architectures causes errors with invalid asm
|
||||||
|
(lib.enableFeature stdenv.hostPlatform.isi686 "lib32")
|
||||||
|
(lib.enableFeature stdenv.hostPlatform.isx86_64 "lib64")
|
||||||
|
(lib.enableFeature stdenv.hostPlatform.isAarch64 "libarm64")
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user