[PATCH libgcypt 2/2] cipher/poly1305: Fix 32-bit x86 compilation
* cipher/poly1305.c [HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS]: Also
conditionalize on whether __arm__ is defined.
When building for i686, configure detects that the assembler can
use the different architectures, so it defined everything under the
HAVE_COMPATIBLE_GCC_ARM_PLATFORM_AS conditional block. Since that
block is first and the following x86 block only defines UMUL_ADD_32
if it's not already defined, the lto-wrapper failed during linking
with a pile of "no such instruction: umlal ..." errors. Gating on
__arm__ prevents that initial defintion and fixes the errors.
cipher/poly1305.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)