Add march=native

remotes/origin/HEAD
Konstantinos Sideris 7 years ago
parent fd552b8a9c
commit 016bec1d13
  1. 2
      CMakeLists.txt

@ -79,7 +79,9 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-Wall \ -Wall \
-Wextra \ -Wextra \
-march=native \
-Werror \ -Werror \
-pipe \
-pedantic \ -pedantic \
-Wunreachable-code") -Wunreachable-code")

Loading…
Cancel
Save