diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-08-24 13:41:45 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-24 13:41:45 +0000 |
| commit | 3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d (patch) | |
| tree | e685975d5410c5336f6bfcb514e08de345a89e25 /tools | |
| parent | 1aeb79dc3a21c9adea2878f0fff676f67bd55d97 (diff) | |
| download | rockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.zip rockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.tar.gz rockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.tar.bz2 rockbox-3478bc5d6dc0a081c3aeb4f501c8b4cb4f53a78d.tar.xz | |
mips is predefined by gcc, but we want it for paths. Don't let others fall into this trap again. Use __mips instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27872 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index 7c61b09..e554c3d 100755 --- a/tools/configure +++ b/tools/configure @@ -442,7 +442,8 @@ arm1176jzscc () { mipselcc () { prefixtools mipsel-elf- - GCCOPTS="$CCOPTS -march=mips32 -mtune=r4600 -mno-mips16 -mno-long-calls" + # mips is predefined, but we want it for paths. use __mips instead + GCCOPTS="$CCOPTS -march=mips32 -mtune=r4600 -mno-mips16 -mno-long-calls -Umips" GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses" GCCOPTIMIZE="-fomit-frame-pointer" endian="little" |