Merge freeldr from amd64 branch:
[reactos.git] / reactos / ReactOS-i386.rbuild
index e3d4528..898ec13 100644 (file)
        <define name="_M_IX86" />
        <define name="_X86_" />
        <define name="__i386__" />
+       <define name="TARGET_i386" host="true" />
+
+       <define name="USE_COMPILER_EXCEPTIONS" />
 
        <property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
+       <property name="PLATFORM" value="PC"/>
 
        <if property="OPTIMIZE" value="1">
                <compilerflag>-Os</compilerflag>
@@ -37,6 +41,7 @@
        <compilerflag>-fno-strict-aliasing</compilerflag>
        <compilerflag>-Wno-strict-aliasing</compilerflag>
        <compilerflag>-Wpointer-arith</compilerflag>
-       <linkerflag>-enable-stdcall-fixup</linkerflag>
+       <!-- compilerflag>-H</compilerflag>    enable this for header traces -->
+       <linkerflag>-disable-stdcall-fixup</linkerflag>
 
 </project>