diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-01-13 20:12:36 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-01-13 20:12:36 +0000 |
commit | 37feed5287160c6edf373d07ad0e61a8afff722a (patch) | |
tree | b6beaf42c100b3729f8162719a76044f0294d8cb | |
parent | c16deb37548f7531c1205eb1e43bfdc47f0b34c0 (diff) | |
download | rockbox-37feed5287160c6edf373d07ad0e61a8afff722a.tar.gz rockbox-37feed5287160c6edf373d07ad0e61a8afff722a.zip |
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
-rwxr-xr-x | tools/rockboxdev.sh | 8 |
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 | |||
290 | ;; | 290 | ;; |
291 | 291 | ||
292 | [Mm]) | 292 | [Mm]) |
293 | build "binutils" "m68k-elf" "2.20.1" | 293 | binopts="" |
294 | case $system in | ||
295 | Darwin) | ||
296 | binopts="--disable-werror" | ||
297 | ;; | ||
298 | esac | ||
299 | build "binutils" "m68k-elf" "2.20.1" "" "$binopts" | ||
294 | build "gcc" "m68k-elf" "4.5.2" "" "--with-arch=cf" "gmp mpfr mpc" | 300 | build "gcc" "m68k-elf" "4.5.2" "" "--with-arch=cf" "gmp mpfr mpc" |
295 | ;; | 301 | ;; |
296 | 302 | ||