Skip to content
Snippets Groups Projects
Commit e50cac18 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Pass build/host/target through to libffi as well

Fixes the issue on Raspberry Pi with a 64-bit kernel with a 32-bit
userland. (I hope)
parent fbf8c836
No related branches found
No related tags found
No related merge requests found
Pipeline #7664 failed
......@@ -5,7 +5,7 @@
if test "$JS_HAS_CTYPES"; then
# Run the libffi 'configure' script.
- ac_configure_args="--disable-shared --enable-static --disable-raw-api"
+ ac_configure_args="--disable-shared --enable-static --disable-raw-api --prefix=${prefix}"
+ ac_configure_args="--disable-shared --enable-static --disable-raw-api --prefix=${prefix} --build=${build} --host=${host} --target=${target}"
if test "$MOZ_DEBUG"; then
ac_configure_args="$ac_configure_args --enable-debug"
fi
......@@ -16,7 +16,7 @@
if test "$JS_HAS_CTYPES"; then
# Run the libffi 'configure' script.
- ac_configure_args="--disable-shared --enable-static --disable-raw-api"
+ ac_configure_args="--disable-shared --enable-static --disable-raw-api --prefix=${prefix}"
+ ac_configure_args="--disable-shared --enable-static --disable-raw-api --prefix=${prefix} --build=${build} --host=${host} --target=${target}"
if test "$MOZ_DEBUG"; then
ac_configure_args="$ac_configure_args --enable-debug"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment