Add optimization compiler flags Modified: trunk/reactos/ReactOS.xml Modified: trunk/reactos/tools/tools.mak _____
Modified: trunk/reactos/ReactOS.xml --- trunk/reactos/ReactOS.xml 2006-01-27 22:21:26 UTC (rev 5) +++ trunk/reactos/ReactOS.xml 2006-01-27 22:33:56 UTC (rev 6) @@ -24,6 +24,12 @@
<define name="KDBG" value="1" /> <property name="DBG_OR_KDBG" value="true" /> </if> + <compilerflag>-Os</compilerflag> + <compilerflag>-Wno-strict-aliasing</compilerflag> + <compilerflag>-ftracer</compilerflag> + <compilerflag>-momit-leaf-frame-pointer</compilerflag> + <compilerflag>-mpreferred-stack-boundary=2</compilerflag> + <compilerflag>-Wpointer-arith</compilerflag>
<include>.</include> <include>include</include> Property changes on: trunk/reactos/bootdata/bootcd ___________________________________________________________________ Name: svn:ignore + GNUmakefile _____
Modified: trunk/reactos/tools/tools.mak --- trunk/reactos/tools/tools.mak 2006-01-27 22:21:26 UTC (rev 5) +++ trunk/reactos/tools/tools.mak 2006-01-27 22:33:56 UTC (rev 6) @@ -6,7 +6,8 @@
TOOLS_OUT_ = $(TOOLS_OUT)$(SEP)
TOOLS_CFLAGS = $(CFLAGS) -Wall -Wpointer-arith -Wno-strict-aliasing -TOOLS_CPPFLAGS = $(CPPFLAGS) -Wall -Wpointer-arith +TOOLS_CPPFLAGS = $(CPPFLAGS) -Wall -Wpointer-arith -Os -Wno-strict-aliasing \ + -ftracer -momit-leaf-frame-pointer -mpreferred-stack-boundary=2 TOOLS_LFLAGS = $(LFLAGS)
$(TOOLS_INT): | $(INTERMEDIATE)