From bb133c1f90d7b0633f79ee96956221ed075dd880 Mon Sep 17 00:00:00 2001 From: Paul Biggar Date: Thu, 18 Nov 2010 10:46:49 -0800 Subject: [PATCH] Bug 608696 - Properly fix CROSS_COMPILE. --- js/src/configure.in | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/js/src/configure.in b/js/src/configure.in index e867dd4044d..3c546942e6e 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -355,7 +355,7 @@ if test "$COMPILE_ENVIRONMENT"; then if test "$target" != "$host"; then echo "cross compiling from $host to $target" - cross_compiling=yes + CROSS_COMPILE=1 _SAVE_CC="$CC" _SAVE_CFLAGS="$CFLAGS" @@ -915,12 +915,6 @@ fi fi # COMPILE_ENVIRONMENT -if test "$cross_compiling" = "yes"; then - CROSS_COMPILE=1 -else - CROSS_COMPILE= -fi - # Check to see if we are running in a broken QEMU scratchbox. # We know that anything below 1.0.16 is broken. AC_CHECK_PROGS(SBCONF, sb-conf ve, "")