$OpenBSD: patch-Modules_Compiler_GNU_cmake,v 1.2 2010/11/15 11:39:08 dcoppa Exp $ --- Modules/Compiler/GNU.cmake.orig Wed Nov 3 20:58:27 2010 +++ Modules/Compiler/GNU.cmake Wed Nov 10 10:35:50 2010 @@ -27,8 +27,8 @@ macro(__compiler_gnu lang) # Initial configuration flags. set(CMAKE_${lang}_FLAGS_INIT "") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g") - set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG") - set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O3 -DNDEBUG") + set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-DNDEBUG") + set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-DNDEBUG") set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-O2 -g") set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE " -E > ") set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE " -S -o ")