mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
mbedtls: Disable ASM when compiling with LLVM MemorySanitizer (MSAN)
This commit is contained in:
parent
d52b84e472
commit
072e77ab40
1 changed files with 8 additions and 0 deletions
|
|
@ -56,6 +56,14 @@
|
|||
#undef MBEDTLS_AESCE_C
|
||||
#endif
|
||||
|
||||
#if defined(__has_feature)
|
||||
#if __has_feature(memory_sanitizer)
|
||||
// MemorySanitizer is incompatible with ASM.
|
||||
#undef MBEDTLS_HAVE_ASM
|
||||
#undef MBEDTLS_AESNI_C
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Disable deprecated
|
||||
#define MBEDTLS_DEPRECATED_REMOVED
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue