thirdparty/mbedtls: do not define MBEDTLS_HAVE_X86_64, when compiling with tcc (#19273)

While the tcc compiler does support some of the SSE instructions, it does not support all of them. And, in particular, it doesn't support movdqu which is used in the assembly language instructions in aesni.c.
This commit is contained in:
Kim Shrier 2023-09-06 00:28:48 -06:00 committed by GitHub
parent 3e93a13ed8
commit be6f20a288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,8 @@
#if defined(MBEDTLS_HAVE_ASM) && defined(__GNUC__) && \
( defined(__amd64__) || defined(__x86_64__) ) && \
! defined(MBEDTLS_HAVE_X86_64)
! defined(MBEDTLS_HAVE_X86_64) && \
! defined(__TINYC__)
#define MBEDTLS_HAVE_X86_64
#endif