[ros-diffs] [greatlrd] 25699: fix buliding with optimze -O3 forget add <compilerflag>-Wno-strict-aliasing</compilerflag> to all level of optimze

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Fri Feb 2 14:56:34 CET 2007


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&r1=25698&r2=25699&view=diff
==============================================================================
--- 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>




More information about the Ros-diffs mailing list