mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
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:
parent
3e93a13ed8
commit
be6f20a288
3
thirdparty/mbedtls/library/aesni.h
vendored
3
thirdparty/mbedtls/library/aesni.h
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user