1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Thomas Martitz 2010-08-24 13:41:45 +00:00
parent 1aeb79dc3a
commit 3478bc5d6d
5 changed files with 2 additions and 6 deletions

3
tools/configure vendored
View file

@ -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"