summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-05-31 11:17:22 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-05-31 11:17:22 -0700
commit6f837306f7de366e783c80592995558c37deb3fe (patch)
treef4a7e7eb953c854fee2fcc789546d85922897f91
parent367378863bcc6801f5ae5ad786c09d39e0890370 (diff)
cmake: Fix typo in compiler flags, s/-02/-O2/
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4fcd56..6fb8023 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -165,7 +165,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g3 -O0 -DDEBUG")
# Produce enough debug info for generating backtraces, but not
# single-stepping.
-set(CMAKE_C_FLAGS_RELEASE "-g1 -02 -DNDEBUG")
+set(CMAKE_C_FLAGS_RELEASE "-g1 -O2 -DNDEBUG")
if(waffle_has_tls)
add_definitions(-DWAFFLE_HAS_TLS)