mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[CMAKE]
- Align the stack on a 16-byte boundary for x86 like any sensible compiler would, anyway. Should fix weird GCC 4.7 behavior. svn path=/trunk/; revision=56985
This commit is contained in:
@@ -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=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()
|
||||
|
||||
Reference in New Issue
Block a user