forked from len0rd/rockbox
Make eabi toolchain build on OS X 10.6.
OS X requires slightly different compiler options due to functions deprecated in 10.6 (FS#11643). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28179 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
037c0ef23a
commit
7b52f97912
1 changed files with 10 additions and 2 deletions
|
|
@ -301,8 +301,16 @@ do
|
|||
;;
|
||||
|
||||
[Ee])
|
||||
build "binutils" "arm-elf-eabi" "2.20.1" "binutils-2.20.1-ld-thumb-interwork-long-call.diff"
|
||||
build "gcc" "arm-elf-eabi" "4.4.4" "rockbox-multilibs-noexceptions-arm-elf-eabi-gcc-4.4.2_1.diff" "" "needs_gmp"
|
||||
binopts=""
|
||||
gccopts=""
|
||||
case $system in
|
||||
Darwin)
|
||||
binopts="--disable-nls --disable-werror"
|
||||
gccopts="--disable-nls"
|
||||
;;
|
||||
esac
|
||||
build "binutils" "arm-elf-eabi" "2.20.1" "binutils-2.20.1-ld-thumb-interwork-long-call.diff" "$binopts"
|
||||
build "gcc" "arm-elf-eabi" "4.4.4" "rockbox-multilibs-noexceptions-arm-elf-eabi-gcc-4.4.2_1.diff" "$gccopts" "needs_gmp"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue