From bb6b018427e4ae5dac039c781aa697c2864b6c42 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 31 Jul 2013 13:04:38 +0000 Subject: [PATCH] [CMAKE/GCC] * Compile debug builds using -O1 instead of -Os. This results in faster compilation time with no measurable difference in runtime performance according to tests. CORE-7374 #resolve #comment Committed in r59598. svn path=/trunk/; revision=59598 --- reactos/cmake/config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/cmake/config.cmake b/reactos/cmake/config.cmake index 1f281b275c0..d3619a524a0 100644 --- a/reactos/cmake/config.cmake +++ b/reactos/cmake/config.cmake @@ -10,7 +10,7 @@ set(OARCH "pentium" CACHE STRING set(TUNE "i686" CACHE STRING "Which CPU ReactOS should be optimized for.") -set(OPTIMIZE "1" CACHE STRING +set(OPTIMIZE "4" CACHE STRING "What level of optimization to use. 0 = off 1 = Default option, optimize for size (-Os) with some additional options