aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-18 13:19:28 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-18 13:19:28 -0500
commit6e9f2878445f4e1d695ea396f8f2803a2d739e5f (patch)
treee343a08d7d2768a0b466c8705ee00fa430f95e53 /src
parent839c4a99cddcacdc19dee42286b7029c4c1e7800 (diff)
downloadminetest-6e9f2878445f4e1d695ea396f8f2803a2d739e5f.tar.gz
minetest-6e9f2878445f4e1d695ea396f8f2803a2d739e5f.tar.bz2
minetest-6e9f2878445f4e1d695ea396f8f2803a2d739e5f.zip
Revert "Fix bug in debug build"
This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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")