From 975332d608e5e8ceb3fb1f5a4146149bc51e94b2 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 4 Mar 2012 10:14:51 +0100 Subject: 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 --- tools/rockboxdev.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 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" ;; -- cgit v1.2.3