windows.mingw_w64: fix building on arm

This commit is contained in:
seth 2024-08-16 04:47:26 -04:00
parent 3d51188a76
commit b57c78d026
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -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;