summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-01-13 20:12:36 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-01-13 20:12:36 +0000
commit37feed5287160c6edf373d07ad0e61a8afff722a (patch)
treeb6beaf42c100b3729f8162719a76044f0294d8cb /tools
parentc16deb37548f7531c1205eb1e43bfdc47f0b34c0 (diff)
Make m68k-elf 4.5.2 toolchain build on OS X 10.6.
OS X requires slightly different compiler options due to functions deprecated in 10.6 (as done in r28179 for arm-eabi-elf). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 0f30f3bc36..beb6c4e299 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -290,7 +290,13 @@ do
;;
[Mm])
- build "binutils" "m68k-elf" "2.20.1"
+ binopts=""
+ case $system in
+ Darwin)
+ binopts="--disable-werror"
+ ;;
+ esac
+ build "binutils" "m68k-elf" "2.20.1" "" "$binopts"
build "gcc" "m68k-elf" "4.5.2" "" "--with-arch=cf" "gmp mpfr mpc"
;;