[ros-diffs] [weiden] 27626: Fix unoptimized builds

weiden at svn.reactos.org weiden at svn.reactos.org
Fri Jul 13 11:53:49 CEST 2007


Author: weiden
Date: Fri Jul 13 13:53:48 2007
New Revision: 27626

URL: http://svn.reactos.org/svn/reactos?rev=27626&view=rev
Log:
Fix unoptimized builds

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

Modified: trunk/reactos/ReactOS.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS.rbuild?rev=27626&r1=27625&r2=27626&view=diff
==============================================================================
--- trunk/reactos/ReactOS.rbuild (original)
+++ trunk/reactos/ReactOS.rbuild Fri Jul 13 13:53:48 2007
@@ -29,33 +29,29 @@
   <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>
 

Modified: trunk/reactos/lib/3rdparty/mingw/moldname-msvcrt.def
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/moldname-msvcrt.def?rev=27626&r1=27625&r2=27626&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/moldname-msvcrt.def (original)
+++ trunk/reactos/lib/3rdparty/mingw/moldname-msvcrt.def Fri Jul 13 13:53:48 2007
@@ -156,3 +156,4 @@
 snwprintf
 snprintf
 strtoull=_strtoui64
+vsnprintf




More information about the Ros-diffs mailing list