From f255f69861df7557a4eded2647043f4c83bff30d Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 30 Jul 2012 22:28:05 +0000 Subject: [PATCH] * Align the stack on an 8-byte boundary for x86. svn path=/trunk/; revision=56998 --- reactos/cmake/gcc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/cmake/gcc.cmake b/reactos/cmake/gcc.cmake index 1f0eecc6353..1eaf27088d9 100644 --- a/reactos/cmake/gcc.cmake +++ b/reactos/cmake/gcc.cmake @@ -81,7 +81,7 @@ endif() add_compile_flags("-fno-strict-aliasing") if(ARCH MATCHES i386) - add_compile_flags("-mpreferred-stack-boundary=2 -fno-set-stack-executable -fno-optimize-sibling-calls -fno-omit-frame-pointer") + add_compile_flags("-mpreferred-stack-boundary=3 -fno-set-stack-executable -fno-optimize-sibling-calls -fno-omit-frame-pointer") if(OPTIMIZE STREQUAL "1") add_compile_flags("-ftracer -momit-leaf-frame-pointer") endif()