Bug 644985 - Pass correct host triplet to libffi configure r=ted.mielczarek
authorJacek Caban <jacek@codeweavers.com>
Tue, 05 Apr 2011 15:43:45 +0000
changeset 67918 408c30d4a038cf8b221556f73efff5e5e1967c50
parent 67917 37e5a7fe49efa374d2259280cee36b7851aedda7
child 67919 d030c439c7cb5e983c2b4a2b962d1dcaa6d93cd3
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs644985
milestone2.2a1pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 644985 - Pass correct host triplet to libffi configure r=ted.mielczarek
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -5988,19 +5988,16 @@ if test "$JS_HAS_CTYPES"; then
   if test "$MOZ_DEBUG"; then
     ac_configure_args="$ac_configure_args --enable-debug"
   fi
   if test "$DSO_PIC_CFLAGS"; then
     ac_configure_args="$ac_configure_args --with-pic"
   fi
   if test "$CROSS_COMPILE"; then
     case "$target" in
-    *-mingw*)
-      ac_configure_args="$ac_configure_args --build=$build --host=${target_cpu}-${target_os} HOST_CC=\"$HOST_CC\" CC=\"$CC\""
-      ;;
     *-android*)
       CFLAGS="$ANDROID_CFLAGS"
       CPPFLAGS="$ANDROID_CPPFLAGS"
       LDFLAGS="$ANDROID_LDFLAGS"
 
       export AS CC CXX CPP LD AR RANLIB STRIP CPPFLAGS CFLAGS LDFLAGS
 
       ac_configure_args="$ac_configure_args --build=$build --host=${target_cpu}-${target_os} HOST_CC=\"$HOST_CC\""