[PSDK]
[reactos.git] / reactos / ReactOS-i386.rbuild
index 5567697..5bfd52a 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!DOCTYPE project SYSTEM "tools/rbuild/project.dtd">
-<project name="ReactOS" makefile="makefile.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
+<project name="ReactOS" makefile="makefile-i386.auto" xmlns:xi="http://www.w3.org/2001/XInclude">
        <xi:include href="config.rbuild">
                <xi:fallback>
                        <xi:include href="config.template.rbuild" />
@@ -15,8 +15,8 @@
        <define name="TARGET_i386" host="true" />
 
        <define name="USE_COMPILER_EXCEPTIONS" />
+       <define name="_USE_32BIT_TIME_T" />
 
-       <property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
        <property name="PLATFORM" value="PC"/>
 
        <group compilerset="gcc">
                        <compilerflag>-ftracer</compilerflag>
                        <compilerflag>-momit-leaf-frame-pointer</compilerflag>
                </if>
+               <compilerflag>-fms-extensions</compilerflag>
                <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
+               <compilerflag compiler="midl">-m32 --win32</compilerflag>
+               <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="as">-gstabs+</compilerflag>
        </group>
 
        <group linkerset="ld">
                <linkerflag>-disable-stdcall-fixup</linkerflag>
+               <linkerflag>-file-alignment=0x1000</linkerflag>
+               <linkerflag>-section-alignment=0x1000</linkerflag>
        </group>
 
        <directory name="base">