summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-18 20:42:36 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-18 20:42:36 +0300
commit016bec1d1376c20eabd25602a086705268f34129 (patch)
tree015e062cf6f0472bc32f2878b50e1549f7d919ff
parentRemove off-white color (diff)
downloadnheko-016bec1d1376c20eabd25602a086705268f34129.tar.xz
Add march=native
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt

index 5cbdc797..3482d0b6 100644 --- a/CMakeLists.txt +++ b/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")