forked from len0rd/rockbox
When building with gcc 4.0, we use -Wno-pointer-sign to reduce the amount of
warnings. I consider this a temporary "fix" that we should remove later on. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7051 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
11d7cb9126
commit
4e52b97c7a
1 changed files with 7 additions and 0 deletions
7
tools/configure
vendored
7
tools/configure
vendored
|
|
@ -649,6 +649,13 @@ else
|
||||||
|
|
||||||
echo "Using $CC $gccver ($gccnum)"
|
echo "Using $CC $gccver ($gccnum)"
|
||||||
|
|
||||||
|
if test "$gccnum" -ge "400"; then
|
||||||
|
# gcc 4.0 is just *so* much pickier on arguments that differ in signedness
|
||||||
|
# so we ignore that warnings for now
|
||||||
|
# -Wno-pointer-sign
|
||||||
|
GCCOPTS="$GCCOPTS -Wno-pointer-sign"
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "X$ccache" = "Xyes"; then
|
if test "X$ccache" = "Xyes"; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue