Fix unoptimized builds
authorThomas Bluemel <thomas@reactsoft.com>
Fri, 13 Jul 2007 09:53:48 +0000 (09:53 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Fri, 13 Jul 2007 09:53:48 +0000 (09:53 +0000)
svn path=/trunk/; revision=27626

reactos/ReactOS.rbuild
reactos/lib/3rdparty/mingw/moldname-msvcrt.def

index 11961b2..4deb521 100644 (file)
   <if property="GDB" value="0">
     <if property="OPTIMIZE" value="1">
         <compilerflag>-Os</compilerflag>
-        <compilerflag>-Wno-strict-aliasing</compilerflag>
         <compilerflag>-ftracer</compilerflag>
         <compilerflag>-momit-leaf-frame-pointer</compilerflag>
         <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
     </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>
 
+  <compilerflag>-Wno-strict-aliasing</compilerflag>
   <compilerflag>-Wpointer-arith</compilerflag>
   <linkerflag>-enable-stdcall-fixup</linkerflag>