Skip to content

Commit

Permalink
Set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/17250
Signed-off-by: Dan Mick <dan.mick@redhat.com>
  • Loading branch information
dmick committed Sep 9, 2016
1 parent a0ffe7a commit 3fdccc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/SIMDExt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3fdccc9

Please sign in to comment.