]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS 11028/head
authorDan Mick <dan.mick@redhat.com>
Fri, 9 Sep 2016 03:28:55 +0000 (20:28 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 9 Sep 2016 03:28:55 +0000 (20:28 -0700)
Fixes: http://tracker.ceph.com/issues/17250
Signed-off-by: Dan Mick <dan.mick@redhat.com>
cmake/modules/SIMDExt.cmake

index bc08514273e7c5d877d46f56430d7e3a61518515..f556a71c9cc13a8c4e0d0d0d79ddc514a6418674 100644 (file)
@@ -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)