Author: tfaber
Date: Sun Jul 29 18:19:40 2012
New Revision: 56985
URL:
http://svn.reactos.org/svn/reactos?rev=56985&view=rev
Log:
[CMAKE]
- Align the stack on a 16-byte boundary for x86 like any sensible compiler would, anyway.
Should fix weird GCC 4.7 behavior.
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=56985&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Sun Jul 29 18:19:40 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=4 -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()