aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2025-10-29 22:06:31 +0100
committerViktor Szakats <commit@vsz.me>2025-10-29 22:29:23 +0100
commitfad962e027842e224d32b31533a61f65cbc13727 (patch)
treeb9a2a23d6d7484e8d6988a5a68b550d909e1124a /include
parent74bf71300dce01249d17df84d24a2b203659408f (diff)
downloadportable-fad962e027842e224d32b31533a61f65cbc13727.tar.gz
portable-fad962e027842e224d32b31533a61f65cbc13727.tar.bz2
portable-fad962e027842e224d32b31533a61f65cbc13727.zip
cmake: disable ARM64 ASM on Windows
ARM64 ASM on Windows generates a lot of `-Wasm-operand-widths` compiler warnings. It also seems to break bignum calculations, resulting in: ``` curl: (35) TLS connect error: error:04FFF077:rsa routines:CRYPTO_internal:wrong signature length ``` and other issues. This option did not cause an issue with MSVC ARM64. The reason for this is that the only ASM code for ARM64 is the bignum implementation (crypto/bn/arch/aarch64) and that ASM code is guarded for `__GNUC__`, meaning gcc and llvm/clang, and never MSVC or clang-cl. Follow-up to 1df6b52b250f04cd322bf7a79e2105f9ed890802 #1177 Fixes #1210
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions