From: Denys Vlasenko Date: Sat, 15 Jul 2017 11:42:19 +0000 (+0200) Subject: tls: fix build problem on non-static i386 X-Git-Tag: 1_27_2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=25f07f589844063307f488b2d07d27e3681285a5;p=oweals%2Fbusybox.git tls: fix build problem on non-static i386 Signed-off-by: Denys Vlasenko --- diff --git a/networking/tls.h b/networking/tls.h index d487f3810..b80cc6448 100644 --- a/networking/tls.h +++ b/networking/tls.h @@ -26,8 +26,10 @@ #undef USE_SEED /* pstm: multiprecision numbers */ #undef DISABLE_PSTM -#if defined(__GNUC__) && defined(__i386__) +#if defined(__GNUC__) && defined(__i386__) && ENABLE_STATIC /* 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_X86 #endif