mirror of
https://github.com/ceph/ceph
synced 2025-03-19 08:57:29 +00:00
Set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS
Fixes: http://tracker.ceph.com/issues/17250 Signed-off-by: Dan Mick <dan.mick@redhat.com>
This commit is contained in:
parent
a0ffe7a0a5
commit
3fdccc9e2b
@ -17,7 +17,7 @@
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64")
|
||||
CHECK_C_COMPILER_FLAG(-march=armv8-a+crc HAVE_ARMV8_CRC)
|
||||
if(HAVE_ARMV8_CRC)
|
||||
set(ARM_NEON_FLAGS "-march=armv8-a+crc -DARCH_AARCH64")
|
||||
set(ARM_CRC_FLAGS "-march=armv8-a+crc -DARCH_AARCH64")
|
||||
endif()
|
||||
CHECK_C_COMPILER_FLAG(-march=armv8-a+simd HAVE_NEON)
|
||||
if(HAVE_NEON)
|
||||
|
Loading…
Reference in New Issue
Block a user