diff native-compiler.sh @ 1209:42bcb67165b4

Only make "bash" and "make" and such when toolchain has no prefix.
author Rob Landley <rob@landley.net>
date Mon, 16 Aug 2010 21:03:59 -0500
parents 4021fb1183d7
children b74d36876c0a
line wrap: on
line diff
--- a/native-compiler.sh	Mon Aug 16 18:12:16 2010 -0500
+++ b/native-compiler.sh	Mon Aug 16 21:03:59 2010 -0500
@@ -41,7 +41,7 @@
 # For a native compiler, build make, bash, and distcc.  (Yes, this is an old
 # version of Bash.  It's intentional.)
 
-if [ "$HOST_ARCH" == "$ARCH" ]
+if [ -z "$TOOLCHAIN_PREFIX" ]
 then
   build_section make
   build_section bash