mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Bug 932127 - correctly configure ctypes in cross compilation conditions; r=glandium
This commit is contained in:
parent
a59022ab0e
commit
10caaad5fb
@ -4258,16 +4258,9 @@ if test "$JS_HAS_CTYPES" -a -z "$MOZ_NATIVE_FFI"; then
|
||||
ac_configure_args="$ac_configure_args --with-pic"
|
||||
fi
|
||||
if test "$CROSS_COMPILE"; then
|
||||
case "$target" in
|
||||
*-android*|*-linuxandroid*)
|
||||
export AS CC CXX CPP LD AR RANLIB STRIP CPPFLAGS CFLAGS 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
|
||||
ac_configure_args="$ac_configure_args --build=$build --host=$target HOST_CC=\"$HOST_CC\""
|
||||
fi
|
||||
if test "$_MSC_VER"; then
|
||||
# Use a wrapper script for cl and ml that looks more like gcc.
|
||||
|
Loading…
Reference in New Issue
Block a user