]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
fix typo in baseline x86 arch definition 212/head
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 20 Dec 2023 20:21:00 +0000 (22:21 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 20 Dec 2023 20:21:00 +0000 (22:21 +0200)
cmake/archdetect.cmake

index b988064aa60f468a528a10e708b1d0f69dc479b8..bd0d088cc554ca8f3ffb9235d231609a3604a9b4 100644 (file)
@@ -44,7 +44,7 @@ if (USE_CPU_NATIVE)
         endif()
     elseif (CMAKE_COMPILER_IS_CLANG)
         if (ARCH_IA32 OR ARCH_X86_64)
-            set(GNUCC_ARCH x86_64_v2)
+            set(GNUCC_ARCH x86-64-v2)
             set(TUNE_FLAG generic)
         elseif(ARCH_AARCH64)
             if (BUILD_SVE2_BITPERM)
@@ -69,7 +69,7 @@ if (USE_CPU_NATIVE)
 else()
     if (SIMDE_BACKEND)
         if (ARCH_IA32 OR ARCH_X86_64)
-            set(GNUCC_ARCH x86_64_v2)
+            set(GNUCC_ARCH x86-64-v2)
             set(TUNE_FLAG generic)
         elseif(ARCH_AARCH64)
             set(GNUCC_ARCH armv8-a)