aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-07-02 21:48:13 -0400
committerkwolekr <kwolekr@minetest.net>2013-07-02 21:48:18 -0400
commitad4c0653449f2d464608dbb75b2798273fd4fe08 (patch)
tree063e0e26908894cf7bc4cee863de20dc28459f2a
parent89533f08113e9c54e1bf35eb8bd1dc2f409d1a80 (diff)
downloadminetest-ad4c0653449f2d464608dbb75b2798273fd4fe08.tar.gz
minetest-ad4c0653449f2d464608dbb75b2798273fd4fe08.tar.bz2
minetest-ad4c0653449f2d464608dbb75b2798273fd4fe08.zip
Change debug optimization level back to -O1
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2b60ff0d2..fae23b821 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")