diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-03-04 10:14:51 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-03-04 10:40:15 +0100 |
commit | 975332d608e5e8ceb3fb1f5a4146149bc51e94b2 (patch) | |
tree | 6d1c27f825f9371aedd54ac3897005c4b2351862 | |
parent | ecbda694b2ada5bacaf108509ed4080b1e00ac4b (diff) | |
download | rockbox-975332d608e5e8ceb3fb1f5a4146149bc51e94b2.tar.gz rockbox-975332d608e5e8ceb3fb1f5a4146149bc51e94b2.zip |
Disable built-in make rules for binutils 2.16.1.
If make provides a built-in rule for .m files (seen on Fedora 16, reported on
the net for OS X) it breaks binutils 2.16.1. Disable built-in rules to avoid
this.
Change-Id: I2e76c52661e47edf81706ed5c8c30f5e6cab8546
-rwxr-xr-x | tools/rockboxdev.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index 05b208ce51..99ac461572 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh | |||
@@ -357,6 +357,10 @@ do | |||
357 | echo "" | 357 | echo "" |
358 | case $arch in | 358 | case $arch in |
359 | [Ss]) | 359 | [Ss]) |
360 | # For binutils 2.16.1 builtin rules conflict on some systems with a | ||
361 | # default rule for Objective C. Disable the builtin make rules. See | ||
362 | # http://sourceware.org/ml/binutils/2005-12/msg00259.html | ||
363 | export MAKEFLAGS="-r $MAKEFLAGS" | ||
360 | build "binutils" "sh-elf" "2.16.1" "" "--disable-werror" | 364 | build "binutils" "sh-elf" "2.16.1" "" "--disable-werror" |
361 | build "gcc" "sh-elf" "4.0.3" "gcc-4.0.3-rockbox-1.diff" | 365 | build "gcc" "sh-elf" "4.0.3" "gcc-4.0.3-rockbox-1.diff" |
362 | ;; | 366 | ;; |