[ros-diffs] [gvg] 6: Add optimization compiler flags

gvg at svn.reactos.org gvg at svn.reactos.org
Fri Jan 27 23:34:06 CET 2006


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060127/3f1c144b/attachment-0002.html


More information about the Ros-diffs mailing list