Author: tkreuzer
Date: Tue Nov 11 15:51:53 2008
New Revision: 37293
URL:
http://svn.reactos.org/svn/reactos?rev=37293&view=rev
Log:
Add a linkerflag to make sure we get an .eh_frame section. Todo: Get it at the end of the
executable, so we can safely remove it. Remove duplicate disable-stdcall-fixup
Fixes build.
Modified:
branches/ros-amd64-bringup/reactos/ReactOS-amd64.rbuild
Modified: branches/ros-amd64-bringup/reactos/ReactOS-amd64.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/React…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ReactOS-amd64.rbuild [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ReactOS-amd64.rbuild [iso-8859-1] Tue Nov 11
15:51:53 2008
@@ -19,8 +19,6 @@
<property name="usewrc" value="false"/>
<property name="WINEBUILD_FLAGS" value="--kill-at"/>
<property name="NTOSKRNL_SHARED" value="-shared"/>
- <linkerflag>-disable-stdcall-fixup</linkerflag>
- <compilerflag>-U_X86_</compilerflag>
<if property="OPTIMIZE" value="1">
<compilerflag>-Os</compilerflag>
@@ -40,6 +38,7 @@
<compilerflag>-O3</compilerflag>
</if>
+ <compilerflag>-U_X86_</compilerflag>
<compilerflag>-mpreferred-stack-boundary=4</compilerflag>
<compilerflag>-fno-strict-aliasing</compilerflag>
<compilerflag>-Wno-strict-aliasing</compilerflag>
@@ -47,6 +46,7 @@
<compilerflag>-Wpointer-arith</compilerflag>
<linkerflag>-disable-stdcall-fixup</linkerflag>
<linkerflag>-static</linkerflag>
+ <linkerflag>--unique=.eh_frame</linkerflag>
<!-- Here starts <xi:include href="ReactOS-generic.rbuild" /> -->