changeset 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 74541aac72f9
children a36e985f6198
files native-compiler.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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