Browse Source

Merge pull request #91356 from akien-mga/mbedtls-linux-arm32-disable-aesce

mbedtls: Disable AESCE on Linux ARM32, doesn't compile on our target arch
Rémi Verschelde 1 year ago
parent
commit
64520fe674
1 changed files with 3 additions and 1 deletions
  1. 3 1
      thirdparty/mbedtls/include/godot_module_mbedtls_config.h

+ 3 - 1
thirdparty/mbedtls/include/godot_module_mbedtls_config.h

@@ -49,8 +49,10 @@
 #undef MBEDTLS_DES_C
 #undef MBEDTLS_DHM_C
 
-#ifndef __linux__
+#if !(defined(__linux__) && defined(__aarch64__))
 // ARMv8 hardware AES operations. Detection only possible on linux.
+// May technically be supported on some ARM32 arches but doesn't seem
+// to be in our current Linux SDK's neon-fp-armv8.
 #undef MBEDTLS_AESCE_C
 #endif