From c9c1def2a850dadc5be024a908766aff4b55e778 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Tue, 25 Dec 2007 16:22:20 +0000 Subject: [PATCH] - Move preferred stack boundary = 2^2 out of the OPTIMIZE switch, because it's always defined. - Remove assumption that GDB=1 automatically means -O0. This is wrong, optimization and debugger should be controlled independently. - Cleanup blah-blah from config.template.rbuild. svn path=/trunk/; revision=31435 --- reactos/ReactOS-i386.rbuild | 40 +++++++++++++++------------------- reactos/config.template.rbuild | 18 ++++++--------- 2 files changed, 24 insertions(+), 34 deletions(-) diff --git a/reactos/ReactOS-i386.rbuild b/reactos/ReactOS-i386.rbuild index f7fc299b509..b610de1ae5d 100644 --- a/reactos/ReactOS-i386.rbuild +++ b/reactos/ReactOS-i386.rbuild @@ -15,31 +15,25 @@ - - - -Os - -ftracer - -momit-leaf-frame-pointer - -mpreferred-stack-boundary=2 - - - -Os - -mpreferred-stack-boundary=2 - - - -O1 - -mpreferred-stack-boundary=2 - - - -O2 - -mpreferred-stack-boundary=2 - - - -O3 - -mpreferred-stack-boundary=2 - + + -Os + -ftracer + -momit-leaf-frame-pointer + + + -Os + + + -O1 + + + -O2 + + + -O3 + -mpreferred-stack-boundary=2 -Wno-strict-aliasing -Wpointer-arith -enable-stdcall-fixup diff --git a/reactos/config.template.rbuild b/reactos/config.template.rbuild index 2808794ad22..3c3948af0c8 100644 --- a/reactos/config.template.rbuild +++ b/reactos/config.template.rbuild @@ -31,17 +31,13 @@