From 10b86bcc7f2be2a456f6dd5e1f8d3a43f1445ca7 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Sun, 4 Sep 2016 17:59:14 +0000 Subject: [PATCH] remove -D_FORTIFY_SOURCE=2 as it causes stack dumps with datatabletool when built with gcc --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a8ef9e5..f6808dd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ elseif(UNIX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -D_GLIBCXX_USE_CXX11_ABI=0 \ -m32 -pipe -march=native -mtune=native \ - -D_FORTIFY_SOURCE=2 -Wformat \ + -Wformat \ -Wno-overloaded-virtual -Wno-missing-braces -Wno-format \ -Wno-write-strings -Wno-unknown-pragmas \ -Wno-uninitialized -Wno-reorder")