summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-11 10:16:50 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-11 10:16:50 +0000
commitced0adc527b44c3041a2ac0a4a3a5c9cd805531e (patch)
treeb86bfad469e00865c52b7bdcc51e0adf5bb7f490
parentca34981b4d48addaf0fc20a9b010211a0cc84ff7 (diff)
downloadrockbox-ced0adc527b44c3041a2ac0a4a3a5c9cd805531e.tar.gz
rockbox-ced0adc527b44c3041a2ac0a4a3a5c9cd805531e.zip
Make the MIPS toolchain build on gcc 4.3+.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18766 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/rockboxdev.sh5
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
146gccver="4.0.3" # default gcc version 146gccver="4.0.3" # default gcc version
147binutils="2.16.1" # The binutils version to use 147binutils="2.16.1" # The binutils version to use
148gccconfigure="" #default is nothing added to configure 148gccconfigure="" #default is nothing added to configure
149binutilsconf="" #default is nothing added to configure
149 150
150system=`uname -s` 151system=`uname -s`
151gccurl="http://www.rockbox.org/gcc" 152gccurl="http://www.rockbox.org/gcc"
@@ -183,6 +184,8 @@ case $arch in
183 gccver="4.1.2" 184 gccver="4.1.2"
184 binutils="2.17" 185 binutils="2.17"
185 gccconfigure="--disable-libssp" 186 gccconfigure="--disable-libssp"
187 binutilsconf="--disable-werror"
188 # necessary to make binutils build on gcc 4.3+
186 case $system in 189 case $system in
187 Interix) 190 Interix)
188 gccpatch="gcc-4.1.2-interix.diff" 191 gccpatch="gcc-4.1.2-interix.diff"
@@ -268,7 +271,7 @@ mkdir build-binu
268echo "ROCKBOXDEV: cd build-binu" 271echo "ROCKBOXDEV: cd build-binu"
269cd build-binu 272cd build-binu
270echo "ROCKBOXDEV: binutils/configure" 273echo "ROCKBOXDEV: binutils/configure"
271../binutils-$binutils/configure --target=$target --prefix=$prefix/$target 274../binutils-$binutils/configure --target=$target --prefix=$prefix/$target $binutilsconf
272echo "ROCKBOXDEV: binutils/make" 275echo "ROCKBOXDEV: binutils/make"
273$make 276$make
274echo "ROCKBOXDEV: binutils/make install to $prefix/$target" 277echo "ROCKBOXDEV: binutils/make install to $prefix/$target"