瀏覽代碼

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 年之前
父節點
當前提交
64520fe674
共有 1 個文件被更改,包括 3 次插入1 次删除
  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