Use -fno-strict-aliasing on 4.0 as well

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25861 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2010-05-06 23:52:33 +00:00
parent 821652dcdb
commit 4e09bd462a

2
tools/configure vendored
View file

@ -2835,7 +2835,7 @@ else
GCCOPTS="$GCCOPTS -Wno-pointer-sign"
fi
if test "$gccnum" -ge "401"; then
if test "$gccnum" -ge "400"; then
# this is a lame hack to avoid "warning: dereferencing type-punned pointer
# will break strict-aliasing rules"