1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2012-03-04 10:14:51 +01:00
parent ecbda694b2
commit 975332d608

View file

@ -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"
;;