Bug 685130 - Build libffi with the same flags as the rest. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 16 Sep 2011 10:01:03 +0200
changeset 77011 ad202468df6335badd1c44be9913975a1a6099d8
parent 77010 49c16f43ff260cb8f07f4d12bf49e4540c7967a5
child 77012 f4d78560721a8a0853da170db77a8d71ec950904
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersted
bugs685130
milestone9.0a1
Bug 685130 - Build libffi with the same flags as the rest. r=ted
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -5445,20 +5445,16 @@ if test "$JS_HAS_CTYPES" -a -z "$MOZ_NAT
     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
     *-android*|*-linuxandroid*)
-      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 HOST_CC=\"$HOST_CC\""
       ;;
     *)
       ac_configure_args="$ac_configure_args --build=$build --host=$target HOST_CC=\"$HOST_CC\" CC=\"$CC\""
       ;;
     esac