summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-02-28 00:50:58 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-02-28 00:50:58 +0100
commit0d9639c386fa9205b505ea12fb230938ad85a5be (patch)
treecfdc0843a55740b6a7f880a736ad9850dfcdc68b
parent8b779206567428444ddd40a5ea4b968c7cdf878b (diff)
downloadk8055-0d9639c386fa9205b505ea12fb230938ad85a5be.zip
k8055-0d9639c386fa9205b505ea12fb230938ad85a5be.tar.gz
add -O2 to DEBUG target compile flags
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d93c72f..451ffb4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ ELSE()
ENDIF()
SET(CMAKE_C_FLAGS "-pedantic -std=gnu99")
SET(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG")
-SET(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG")
+SET(CMAKE_C_FLAGS_DEBUG "-g -O2 -DDEBUG")
#
# COLOR MESSAGES
#