CMakeLists.txt
branch0.9.20
changeset 9886 af0520a6bf00
parent 9883 d6d3be73d427
child 9896 64fcebc58fbc
--- a/CMakeLists.txt	Mon Dec 30 18:29:23 2013 -0500
+++ b/CMakeLists.txt	Tue Dec 31 00:32:55 2013 +0100
@@ -74,10 +74,10 @@
 
 #set default compiler flags
 add_flag_append(CMAKE_C_FLAGS "-Wall -pipe")
-add_flag_append(CMAKE_C_FLAGS_RELEASE "-Os")
+add_flag_append(CMAKE_C_FLAGS_RELEASE "-O2")
 add_flag_append(CMAKE_C_FLAGS_DEBUG "-Wextra -O0")
 add_flag_append(CMAKE_CXX_FLAGS "-Wall -pipe")
-add_flag_append(CMAKE_CXX_FLAGS_RELEASE "-Os")
+add_flag_append(CMAKE_CXX_FLAGS_RELEASE "-O2")
 add_flag_append(CMAKE_CXX_FLAGS_DEBUG "-Wextra -O0")
 
 #CMake adds a lot of additional configuration flags, so let's clear them up