From b97a410dea70e3064b8432c9c6f1c9e67e04df56 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Thu, 15 Dec 2016 03:46:04 +0000 Subject: [PATCH] as it turns out the c++17 standard isn't really fully baked yet and breaks things --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 25ecd4ae..0b75be70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,11 +68,10 @@ elseif(UNIX) endif() # funroll loops and everything else potentially crazy for performance here - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DDEBUG_LEVEL=0 -DPRODUCTION=1 -funroll-loops") + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DDEBUG_LEVEL=0 -DPRODUCTION=1 -funroll-loops") # our "always on" flags - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 \ - -m32 -pipe -march=native -mtune=native \ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -m32 -pipe -march=native -mtune=native \ -Wformat -Wno-overloaded-virtual -Wno-missing-braces -Wno-format \ -Wno-write-strings -Wno-unknown-pragmas \ -Wno-uninitialized -Wno-reorder")