summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-27 20:42:30 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-27 20:42:30 +0000
commit7b52f979124f81aa685135e24be2e11ebcac833b (patch)
treeda1b53822cc93ee6868b66f540a9fafdf749bf48
parent037c0ef23ae317debd8878f8033e57652c28e3ec (diff)
downloadrockbox-7b52f979124f81aa685135e24be2e11ebcac833b.tar.gz
rockbox-7b52f979124f81aa685135e24be2e11ebcac833b.tar.bz2
rockbox-7b52f979124f81aa685135e24be2e11ebcac833b.zip
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
-rwxr-xr-xtools/rockboxdev.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index a7f4ba341c..d0ba724f5d 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -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"
;;
*)