changeset 729:1d2921810860

Fix the canadian cross stuff for arches that override CROSS_TARGET (ala ppc440)
author Rob Landley <rob@landley.net>
date Sun, 17 May 2009 15:14:46 -0500
parents 14b9373956a7
children 433290547485
files sources/include.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/include.sh	Mon May 11 01:06:39 2009 -0500
+++ b/sources/include.sh	Sun May 17 15:14:46 2009 -0500
@@ -102,10 +102,10 @@
   if [ -z "$FROM_ARCH" ]
   then
     FROM_ARCH="${ARCH}"
+    FROM_HOST="${CROSS_TARGET}"
   else
     [ -z "$PROGRAM_PREFIX" ] && PROGRAM_PREFIX="${ARCH}-"
   fi
-  [ -z "$FROM_HOST" ] && FROM_HOST="${FROM_ARCH}"-walrus-linux 
 
   # Setup directories and add the cross compiler to the start of the path.