diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-10-11 10:16:50 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-10-11 10:16:50 +0000 |
commit | ced0adc527b44c3041a2ac0a4a3a5c9cd805531e (patch) | |
tree | b86bfad469e00865c52b7bdcc51e0adf5bb7f490 /tools | |
parent | ca34981b4d48addaf0fc20a9b010211a0cc84ff7 (diff) |
Make the MIPS toolchain build on gcc 4.3+.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18766 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rockboxdev.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh index a55ad8df3d..72c883bbce 100755 --- a/tools/rockboxdev.sh +++ b/tools/rockboxdev.sh @@ -146,6 +146,7 @@ gccpatch="" # default is no gcc patch gccver="4.0.3" # default gcc version binutils="2.16.1" # The binutils version to use gccconfigure="" #default is nothing added to configure +binutilsconf="" #default is nothing added to configure system=`uname -s` gccurl="http://www.rockbox.org/gcc" @@ -183,6 +184,8 @@ case $arch in gccver="4.1.2" binutils="2.17" gccconfigure="--disable-libssp" + binutilsconf="--disable-werror" + # necessary to make binutils build on gcc 4.3+ case $system in Interix) gccpatch="gcc-4.1.2-interix.diff" @@ -268,7 +271,7 @@ mkdir build-binu echo "ROCKBOXDEV: cd build-binu" cd build-binu echo "ROCKBOXDEV: binutils/configure" -../binutils-$binutils/configure --target=$target --prefix=$prefix/$target +../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf echo "ROCKBOXDEV: binutils/make" $make echo "ROCKBOXDEV: binutils/make install to $prefix/$target" |