summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
;;
*)