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.zip rockbox-975332d608e5e8ceb3fb1f5a4146149bc51e94b2.tar.gz rockbox-975332d608e5e8ceb3fb1f5a4146149bc51e94b2.tar.bz2 rockbox-975332d608e5e8ceb3fb1f5a4146149bc51e94b2.tar.xz | |
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 05b208c..99ac461 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -357,6 +357,10 @@ do echo "" case $arch in [Ss]) + # For binutils 2.16.1 builtin rules conflict on some systems with a + # default rule for Objective C. Disable the builtin make rules. See + # http://sourceware.org/ml/binutils/2005-12/msg00259.html + export MAKEFLAGS="-r $MAKEFLAGS" build "binutils" "sh-elf" "2.16.1" "" "--disable-werror" build "gcc" "sh-elf" "4.0.3" "gcc-4.0.3-rockbox-1.diff" ;; |