diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-07 08:16:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-07 08:16:39 +0000 |
commit | 4e52b97c7a0435244e49e92ca16a9e7a4e6ad307 (patch) | |
tree | 6fdc358e85eca288674d66d41557207bfe5ead1b | |
parent | 11d7cb9126216a60f34d709ff413cbe7d249446d (diff) | |
download | rockbox-4e52b97c7a0435244e49e92ca16a9e7a4e6ad307.tar.gz rockbox-4e52b97c7a0435244e49e92ca16a9e7a4e6ad307.zip |
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
-rwxr-xr-x | tools/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 37d92d3372..85764308db 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -649,6 +649,13 @@ else | |||
649 | 649 | ||
650 | echo "Using $CC $gccver ($gccnum)" | 650 | echo "Using $CC $gccver ($gccnum)" |
651 | 651 | ||
652 | if test "$gccnum" -ge "400"; then | ||
653 | # gcc 4.0 is just *so* much pickier on arguments that differ in signedness | ||
654 | # so we ignore that warnings for now | ||
655 | # -Wno-pointer-sign | ||
656 | GCCOPTS="$GCCOPTS -Wno-pointer-sign" | ||
657 | fi | ||
658 | |||
652 | fi | 659 | fi |
653 | 660 | ||
654 | if test "X$ccache" = "Xyes"; then | 661 | if test "X$ccache" = "Xyes"; then |