Add march=native

This commit is contained in:
Konstantinos Sideris 2017-09-18 20:42:36 +03:00
parent fd552b8a9c
commit 016bec1d13
1 changed files with 2 additions and 0 deletions

View File

@ -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")