Add march=native

This commit is contained in:
Konstantinos Sideris 2017-09-18 20:42:36 +03:00
parent fd552b8a9c
commit 016bec1d13

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} \ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-Wall \ -Wall \
-Wextra \ -Wextra \
-march=native \
-Werror \ -Werror \
-pipe \
-pedantic \ -pedantic \
-Wunreachable-code") -Wunreachable-code")