drop -O0 for debug builds
authorFelix Fietkau <nbd@openwrt.org>
Sun, 9 Oct 2011 17:30:15 +0000 (19:30 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 9 Oct 2011 17:30:15 +0000 (19:30 +0200)
CMakeLists.txt

index 8982a0d565e30c1c74916e69ff7f4bad81a94624..d20b4906ebb42cc330e2a60b6e8f087272ed0661 100644 (file)
@@ -32,7 +32,7 @@ ELSE()
 ENDIF()
 
 IF(DEBUG)
-  ADD_DEFINITIONS(-DDEBUG -O0 --std=gnu99 -g3)
+  ADD_DEFINITIONS(-DDEBUG --std=gnu99 -g3)
 ENDIF()