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