mirror of
https://github.com/sheumann/hush.git
synced 2024-06-01 00:41:33 +00:00
tls: fix build problem on non-static i386
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
6bb89e1622
commit
25f07f5898
|
@ -26,8 +26,10 @@
|
||||||
#undef USE_SEED
|
#undef USE_SEED
|
||||||
/* pstm: multiprecision numbers */
|
/* pstm: multiprecision numbers */
|
||||||
#undef DISABLE_PSTM
|
#undef DISABLE_PSTM
|
||||||
#if defined(__GNUC__) && defined(__i386__)
|
#if defined(__GNUC__) && defined(__i386__) && ENABLE_STATIC
|
||||||
/* PSTM_X86 works correctly. +25 bytes. */
|
/* PSTM_X86 works correctly. +25 bytes. */
|
||||||
|
/* Only enabled on static build since tls_pstm_mul_comba.c::MULADD
|
||||||
|
* and tls_pstm_sqr_comba.c::SQRADD2 need too many registers, choke when ebx is not available */
|
||||||
# define PSTM_32BIT
|
# define PSTM_32BIT
|
||||||
# define PSTM_X86
|
# define PSTM_X86
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user