summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e6834c57..790f45770 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,7 +63,8 @@ ELSE()
ADD_COMPILE_FLAG("-O0")
ADD_COMPILE_FLAG("-g3")
ELSE()
- ADD_COMPILE_FLAG("-O2")
+ ADD_COMPILE_FLAG("-O0")
+ ADD_COMPILE_FLAG("-g3")
ADD_DEFINITIONS("-UNDEBUG") # Keep asserts.
ENDIF()
ENDIF()