Add march=native

pull/1/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} \
-Wall \
-Wextra \
-march=native \
-Werror \
-pipe \
-pedantic \
-Wunreachable-code")

Loading…
Cancel
Save