Author: akhaldi
Date: Mon Jul 30 22:28:05 2012
New Revision: 56998
URL:
http://svn.reactos.org/svn/reactos?rev=56998&view=rev
Log:
* Align the stack on an 8-byte boundary for x86.
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=56998&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Mon Jul 30 22:28:05 2012
@@ -81,7 +81,7 @@
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()