Bug 608696 - Properly fix CROSS_COMPILE.

This commit is contained in:
Paul Biggar 2010-11-18 10:46:49 -08:00
parent f05b9e173c
commit bb133c1f90

View File

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