Skip to content

Commit 062ffc4

Browse files
committed
Fix unoptimized builds
svn path=/trunk/; revision=27626
1 parent ea4c533 commit 062ffc4

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

reactos/ReactOS.rbuild

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,29 @@
2929
<if property="GDB" value="0">
3030
<if property="OPTIMIZE" value="1">
3131
<compilerflag>-Os</compilerflag>
32-
<compilerflag>-Wno-strict-aliasing</compilerflag>
3332
<compilerflag>-ftracer</compilerflag>
3433
<compilerflag>-momit-leaf-frame-pointer</compilerflag>
3534
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
3635
</if>
3736
<if property="OPTIMIZE" value="2">
3837
<compilerflag>-Os</compilerflag>
39-
<compilerflag>-Wno-strict-aliasing</compilerflag>
4038
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
4139
</if>
4240
<if property="OPTIMIZE" value="3">
4341
<compilerflag>-O1</compilerflag>
44-
<compilerflag>-Wno-strict-aliasing</compilerflag>
4542
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
4643
</if>
4744
<if property="OPTIMIZE" value="4">
4845
<compilerflag>-O2</compilerflag>
49-
<compilerflag>-Wno-strict-aliasing</compilerflag>
5046
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
5147
</if>
5248
<if property="OPTIMIZE" value="5">
5349
<compilerflag>-O3</compilerflag>
54-
<compilerflag>-Wno-strict-aliasing</compilerflag>
5550
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
5651
</if>
5752
</if>
5853

54+
<compilerflag>-Wno-strict-aliasing</compilerflag>
5955
<compilerflag>-Wpointer-arith</compilerflag>
6056
<linkerflag>-enable-stdcall-fixup</linkerflag>
6157

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,4 @@ nextafter
156156
snwprintf
157157
snprintf
158158
strtoull=_strtoui64
159+
vsnprintf

0 commit comments

Comments
 (0)