Skip to content

Commit 13b42d9

Browse files
committed
mbedtls: Disable AESCE on Linux ARM32, doesn't compile on our target arch
Our current Linux SDK for ARM32 from https://github.com/godotengine/buildroot targets a relatively conservative baseline of neon-fp-armv8, and (at least based on build issues I got) this doesn't seem to include hardware AES support. Fixes godotengine#91352.
1 parent 89850d5 commit 13b42d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

thirdparty/mbedtls/include/godot_module_mbedtls_config.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@
4949
#undef MBEDTLS_DES_C
5050
#undef MBEDTLS_DHM_C
5151

52-
#ifndef __linux__
52+
#if !(defined(__linux__) && defined(__aarch64__))
5353
// ARMv8 hardware AES operations. Detection only possible on linux.
54+
// May technically be supported on some ARM32 arches but doesn't seem
55+
// to be in our current Linux SDK's neon-fp-armv8.
5456
#undef MBEDTLS_AESCE_C
5557
#endif
5658

0 commit comments

Comments
 (0)