mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00

- Define TARGET_arm/TARGET_i386 in the ReactOS-arm.rbuild/ReactOS-i386.rbuild files for the host tools to make it possible for them to know about the target to build - Make use of this define in winebuild to fix the issue of r36927 properly - Define global includes for host tools to simplify all host tool/library rbuild files - Remove dead rbuild code - Remove the include/reactos/config.h file, none of its defines are still used - Fix components accidentally using that file svn path=/trunk/; revision=36995
43 lines
1.3 KiB
Ruby
43 lines
1.3 KiB
Ruby
<?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">
|
|
<xi:include href="config.rbuild">
|
|
<xi:fallback>
|
|
<xi:include href="config.template.rbuild" />
|
|
</xi:fallback>
|
|
</xi:include>
|
|
|
|
<xi:include href="ReactOS-generic.rbuild" />
|
|
|
|
<define name="_M_IX86" />
|
|
<define name="_X86_" />
|
|
<define name="__i386__" />
|
|
<define name="TARGET_i386" host="true" />
|
|
|
|
<property name="NTOSKRNL_SHARED" value="-file-alignment=0x1000 -section-alignment=0x1000 -shared"/>
|
|
|
|
<if property="OPTIMIZE" value="1">
|
|
<compilerflag>-Os</compilerflag>
|
|
<compilerflag>-ftracer</compilerflag>
|
|
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="2">
|
|
<compilerflag>-Os</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="3">
|
|
<compilerflag>-O1</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="4">
|
|
<compilerflag>-O2</compilerflag>
|
|
</if>
|
|
<if property="OPTIMIZE" value="5">
|
|
<compilerflag>-O3</compilerflag>
|
|
</if>
|
|
|
|
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
|
<compilerflag>-fno-strict-aliasing</compilerflag>
|
|
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
|
<compilerflag>-Wpointer-arith</compilerflag>
|
|
<linkerflag>-disable-stdcall-fixup</linkerflag>
|
|
|
|
</project>
|