mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
fix buliding with optimze -O3 forget add <compilerflag>-Wno-strict-aliasing</compilerflag> to all level of optimze
svn path=/trunk/; revision=25699
This commit is contained in:
parent
ef4d0daf3b
commit
bb10cf55cf
|
@ -35,18 +35,22 @@
|
||||||
</if>
|
</if>
|
||||||
<if property="OPTIMIZE" value="2">
|
<if property="OPTIMIZE" value="2">
|
||||||
<compilerflag>-Os</compilerflag>
|
<compilerflag>-Os</compilerflag>
|
||||||
|
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||||
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
||||||
</if>
|
</if>
|
||||||
<if property="OPTIMIZE" value="3">
|
<if property="OPTIMIZE" value="3">
|
||||||
<compilerflag>-O1</compilerflag>
|
<compilerflag>-O1</compilerflag>
|
||||||
|
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||||
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
||||||
</if>
|
</if>
|
||||||
<if property="OPTIMIZE" value="4">
|
<if property="OPTIMIZE" value="4">
|
||||||
<compilerflag>-O2</compilerflag>
|
<compilerflag>-O2</compilerflag>
|
||||||
|
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||||
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
||||||
</if>
|
</if>
|
||||||
<if property="OPTIMIZE" value="5">
|
<if property="OPTIMIZE" value="5">
|
||||||
<compilerflag>-O3</compilerflag>
|
<compilerflag>-O3</compilerflag>
|
||||||
|
<compilerflag>-Wno-strict-aliasing</compilerflag>
|
||||||
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
<compilerflag>-mpreferred-stack-boundary=2</compilerflag>
|
||||||
</if>
|
</if>
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in a new issue