mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03: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
1 changed files with 2 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue