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, "")