From: Dan Mick Date: Fri, 9 Sep 2016 03:28:55 +0000 (-0700) Subject: Set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS X-Git-Tag: v11.0.1~280^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3fdccc9e2b434b5d11fba53657a02f156aebc099;p=ceph.git 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 --- diff --git a/cmake/modules/SIMDExt.cmake b/cmake/modules/SIMDExt.cmake index bc08514273e..f556a71c9cc 100644 --- a/cmake/modules/SIMDExt.cmake +++ b/cmake/modules/SIMDExt.cmake @@ -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)