Author: greatlrd
Date: Fri Feb 2 16:56:33 2007
New Revision: 25699
URL:
http://svn.reactos.org/svn/reactos?rev=25699&view=rev
Log:
fix buliding with optimze -O3 forget add
<compilerflag>-Wno-strict-aliasing</compilerflag> to all level of optimze
Modified:
trunk/reactos/ReactOS.rbuild
Modified: trunk/reactos/ReactOS.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS.rbuild?rev=25699&a…
==============================================================================
--- trunk/reactos/ReactOS.rbuild (original)
+++ trunk/reactos/ReactOS.rbuild Fri Feb 2 16:56:33 2007
@@ -35,18 +35,22 @@
</if>
<if property="OPTIMIZE" value="2">
<compilerflag>-Os</compilerflag>
+ <compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="3">
<compilerflag>-O1</compilerflag>
+ <compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="4">
<compilerflag>-O2</compilerflag>
+ <compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
<if property="OPTIMIZE" value="5">
<compilerflag>-O3</compilerflag>
+ <compilerflag>-Wno-strict-aliasing</compilerflag>
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
</if>
</if>