From 2873c3c4068723aaf7cd878bbe9cecc9fc56d090 Mon Sep 17 00:00:00 2001 From: tx00100xt Date: Tue, 27 Dec 2022 12:09:54 +0300 Subject: [PATCH] Changed -mtune=generic to -march=native in CMakeLists.txt --- Sources/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/CMakeLists.txt b/Sources/CMakeLists.txt index 520bb63..617d18b 100755 --- a/Sources/CMakeLists.txt +++ b/Sources/CMakeLists.txt @@ -102,7 +102,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang") add_compile_options(-pipe) add_compile_options(-fPIC) if(NOT PANDORA AND NOT PYRA AND NOT (MACOSX AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")) - add_compile_options(-mtune=generic) + add_compile_options(-march=native) endif() if(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm.*") if(PYRA)