libffi: Use -fno-integrated-as for arm

This commit is contained in:
Fredrik Fornwall 2018-09-20 00:26:38 +02:00
parent de09dafea4
commit 5a148fe3f6
1 changed files with 6 additions and 0 deletions

View File

@ -6,3 +6,9 @@ TERMUX_PKG_SRCURL=ftp://sourceware.org/pub/libffi/libffi-${TERMUX_PKG_VERSION}.t
TERMUX_PKG_SHA256=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-multi-os-directory"
TERMUX_PKG_RM_AFTER_INSTALL="lib/libffi-${TERMUX_PKG_VERSION}/include"
termux_step_pre_configure () {
if [ $TERMUX_ARCH = arm ]; then
CFLAGS+=" -fno-integrated-as"
fi
}