Author: dgorbachev
Date: Wed Jul 27 02:37:33 2011
New Revision: 52915
URL:
http://svn.reactos.org/svn/reactos?rev=52915&view=rev
Log:
Add "-fno-omit-frame-pointer" compiler option. GCC 4.6 omits on -O2 and -O3
level.
Modified:
trunk/reactos/ReactOS-i386.rbuild
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/ReactOS-i386.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-i386.rbuild?rev=52…
==============================================================================
--- trunk/reactos/ReactOS-i386.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ReactOS-i386.rbuild [iso-8859-1] Wed Jul 27 02:37:33 2011
@@ -30,6 +30,7 @@
<compilerflag compiler="cc,cxx">-gstabs+</compilerflag>
<compilerflag
compiler="cc,cxx">-fno-set-stack-executable</compilerflag>
<compilerflag
compiler="cc,cxx">-fno-optimize-sibling-calls</compilerflag>
+ <compilerflag
compiler="cc,cxx">-fno-omit-frame-pointer</compilerflag>
<compilerflag compiler="as">-gstabs+</compilerflag>
</group>
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=52915&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Wed Jul 27 02:37:33 2011
@@ -37,7 +37,7 @@
add_compiler_flags(-fno-strict-aliasing)
if(ARCH MATCHES i386)
- add_compiler_flags(-mpreferred-stack-boundary=2 -fno-set-stack-executable
-fno-optimize-sibling-calls)
+ add_compiler_flags(-mpreferred-stack-boundary=2 -fno-set-stack-executable
-fno-optimize-sibling-calls -fno-omit-frame-pointer)
if(OPTIMIZE STREQUAL "1")
add_compiler_flags(-ftracer -momit-leaf-frame-pointer)
endif()