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:
parent
821652dcdb
commit
4e09bd462a
1 changed files with 1 additions and 1 deletions
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -2835,7 +2835,7 @@ else
|
||||||
GCCOPTS="$GCCOPTS -Wno-pointer-sign"
|
GCCOPTS="$GCCOPTS -Wno-pointer-sign"
|
||||||
fi
|
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
|
# this is a lame hack to avoid "warning: dereferencing type-punned pointer
|
||||||
# will break strict-aliasing rules"
|
# will break strict-aliasing rules"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue