From 10d957477a94a00e51f878deca0b0a3adb58ef0d Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 20 Dec 2023 22:21:00 +0200 Subject: [PATCH] fix typo in baseline x86 arch definition --- cmake/archdetect.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/archdetect.cmake b/cmake/archdetect.cmake index b988064a..bd0d088c 100644 --- a/cmake/archdetect.cmake +++ b/cmake/archdetect.cmake @@ -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)