2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://sourceware.org/libffi/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Library providing a portable, high level programming interface to various calling conventions"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_VERSION=3.2.1
|
2019-06-28 18:19:24 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=ftp://sourceware.org/pub/libffi/libffi-${TERMUX_PKG_VERSION}.tar.gz
|
2017-02-20 05:44:16 +01:00
|
|
|
TERMUX_PKG_SHA256=d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37
|
2016-05-17 02:28:21 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-multi-os-directory"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="lib/libffi-${TERMUX_PKG_VERSION}/include"
|
2018-09-20 00:26:38 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2018-09-20 00:26:38 +02:00
|
|
|
if [ $TERMUX_ARCH = arm ]; then
|
|
|
|
CFLAGS+=" -fno-integrated-as"
|
|
|
|
fi
|
|
|
|
}
|