From 857145a61e1c29e97139085511880a9a55ba788e Mon Sep 17 00:00:00 2001 From: tx00100xt Date: Tue, 27 Dec 2022 12:10:50 +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 031550c..8d67086 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)