diff options
author | kwolekr <kwolekr@minetest.net> | 2015-01-18 13:19:28 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-01-18 13:19:28 -0500 |
commit | 6e9f2878445f4e1d695ea396f8f2803a2d739e5f (patch) | |
tree | e343a08d7d2768a0b466c8705ee00fa430f95e53 /src/CMakeLists.txt | |
parent | 839c4a99cddcacdc19dee42286b7029c4c1e7800 (diff) | |
download | minetest-6e9f2878445f4e1d695ea396f8f2803a2d739e5f.tar.gz minetest-6e9f2878445f4e1d695ea396f8f2803a2d739e5f.tar.bz2 minetest-6e9f2878445f4e1d695ea396f8f2803a2d739e5f.zip |
Revert "Fix bug in debug build"
This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
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") |