mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Only trust clang support for mode(TI) on amd64
This commit is contained in:
parent
bb70f436d0
commit
02f98ce727
@ -225,8 +225,8 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#ifndef __GNUC__
|
||||
# error mode(TI) is a gcc extension
|
||||
#endif
|
||||
#if defined(__arm__) || defined(__ARMEL__)
|
||||
# error clang doesn't properly compile smult_curve25519_donna_c64.c on arm
|
||||
#if defined(__clang__) && !defined(__x86_64__)
|
||||
# error clang doesn't properly compile smult_curve25519_donna_c64.c
|
||||
#endif
|
||||
typedef unsigned uint128_t __attribute__((mode(TI)));
|
||||
uint128_t x;
|
||||
|
Loading…
Reference in New Issue
Block a user