From: kwolekr Date: Wed, 3 Jul 2013 01:48:13 +0000 (-0400) Subject: Change debug optimization level back to -O1 X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ad4c0653449f2d464608dbb75b2798273fd4fe08;p=zefram%2Fminetest%2Fminetest_engine.git Change debug optimization level back to -O1 --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2b60ff0d..fae23b82 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -489,7 +489,7 @@ else() endif() set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -O3 -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops") - 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")