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:
Magnus Olsen 2007-02-02 13:56:33 +00:00
parent ef4d0daf3b
commit bb10cf55cf

View file

@ -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>