From 6e9f2878445f4e1d695ea396f8f2803a2d739e5f Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 18 Jan 2015 13:19:28 -0500 Subject: [PATCH] Revert "Fix bug in debug build" This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 80f21a00a..4c71d418d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -658,7 +658,7 @@ else() else() set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -fomit-frame-pointer") endif(APPLE) - set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall ${WARNING_FLAGS} ${OTHER_FLAGS}") + set(CMAKE_CXX_FLAGS_DEBUG "-g -O1 -Wall ${WARNING_FLAGS} ${OTHER_FLAGS}") if(USE_GPROF) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -pg") -- 2.25.1