summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2007-06-29 11:35:35 +0000
committerBjörn Stenberg <bjorn@haxx.se>2007-06-29 11:35:35 +0000
commit63c266e5e543cf7341418b1a83e938d05ede2c7d (patch)
treeb8a486553d767574d66e249bfa6e642a7002b8f6
parentfef46334d84ad77fb27985f994f563cb175cb5ec (diff)
Now automatically patches gcc-3.4.6 when built on x86_64. (FS#6564)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13733 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/rockboxdev.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index f9b1ae8a46..7bfd7840c9 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -152,6 +152,13 @@ case $1 in
gccpatch="gcc-3.4.6.patch"
;;
Linux)
+ machine=`uname -m`
+ case $machine in
+ x86_64)
+ gccurl="http://www.rockbox.org/twiki/pub/Main/CrossCompiler"
+ gccpatch="gcc-3.4.6-amd64.patch"
+ ;;
+ esac
;;
*)
;;