32-bit ARM perlasm should be 'linux32', not 'elf'.

arm-xlate.pl conditions some things on the flavour matching /linux/. This
change will need to be mirrored in update_gypi_and_asm.py.

Change-Id: I60483aaf40fd13181173373f12f6d3651a2a8a0c
Reviewed-on: https://boringssl-review.googlesource.com/4460
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
David Benjamin 2015-04-20 17:32:28 -04:00 committed by Adam Langley
parent f06802f1e4
commit 5928c41a1a

View File

@ -12,6 +12,8 @@ elseif(UNIX)
# The "armx" Perl scripts look for "64" in the style argument # The "armx" Perl scripts look for "64" in the style argument
# in order to decide whether to generate 32- or 64-bit asm. # in order to decide whether to generate 32- or 64-bit asm.
set(PERLASM_STYLE linux64) set(PERLASM_STYLE linux64)
elseif (${ARCH} STREQUAL "arm")
set(PERLASM_STYLE linux32)
elseif (${ARCH} STREQUAL "x86") elseif (${ARCH} STREQUAL "x86")
set(PERLASM_FLAGS "-fPIC -DOPENSSL_IA32_SSE2") set(PERLASM_FLAGS "-fPIC -DOPENSSL_IA32_SSE2")
set(PERLASM_STYLE elf) set(PERLASM_STYLE elf)