From 541f3ae1f95ccaa32e4fde3f1cc27323db2fb0e1 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 21 Nov 2021 14:30:36 +0300 Subject: [PATCH] Fix build on AArch64 --- cmake/cpu_features.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cpu_features.cmake b/cmake/cpu_features.cmake index 0f11c7eb9f4..20c61ead3d2 100644 --- a/cmake/cpu_features.cmake +++ b/cmake/cpu_features.cmake @@ -29,7 +29,7 @@ if (ARCH_NATIVE) set (COMPILER_FLAGS "${COMPILER_FLAGS} -march=native") elseif (ARCH_AARCH64) - set (COMPILER_FLAGS "${COMPILER_FLAGS} -march=armv8+crc") + set (COMPILER_FLAGS "${COMPILER_FLAGS} -march=armv8-a+crc") else () set (TEST_FLAG "-mssse3")