Bug 550646 - 32-bit Mac OS X builds cross-compiled on Mac OS X broken. r=bustage fix, pending review.

This commit is contained in:
Dan Witte 2010-03-09 15:12:39 -08:00
Родитель 82cc66d74a
Коммит ca0d383a0f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -8733,7 +8733,7 @@ if test "$BUILD_CTYPES"; then
ac_configure_args="$ac_configure_args --with-pic"
fi
if test "$CROSS_COMPILE"; then
ac_configure_args="$ac_configure_args --build=$build --host=$target"
ac_configure_args="$ac_configure_args --build=$build --host=$host --target=$target HOST_CC=\"$HOST_CC\" CC=\"$CC\""
fi
if test "$_MSC_VER"; then
# Use a wrapper script for cl and ml that looks more like gcc.
@ -8742,7 +8742,7 @@ if test "$BUILD_CTYPES"; then
case "${target_cpu}" in
x86_64)
# Need target since MSYS tools into mozilla-build may be 32bit
ac_configure_args="$ac_configure_args CC=\"$_topsrcdir/js/ctypes/libffi/msvcc.sh -m64\" --build=$build --host=$target"
ac_configure_args="$ac_configure_args CC=\"$_topsrcdir/js/ctypes/libffi/msvcc.sh -m64\" --build=$build --host=$host target=$target"
;;
*)
ac_configure_args="$ac_configure_args CC=$_topsrcdir/js/ctypes/libffi/msvcc.sh"