libffi: cross

This commit is contained in:
Ella Stanforth 2022-04-23 16:06:48 +00:00
parent f08570a296
commit c16d63a8e9

View file

@ -2,6 +2,7 @@ pkgver=3.3
pkgname=libffi pkgname=libffi
bad="gmake" bad="gmake"
ext="dev" ext="dev"
auto_cross
fetch() { fetch() {
curl -L "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" -o $pkgname-$pkgver.tar.gz curl -L "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" -o $pkgname-$pkgver.tar.gz
@ -10,7 +11,9 @@ fetch() {
build() { build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
./configure --prefix=/usr ./configure --prefix=/usr \
--build=$HOST_TRIPLE \
--host=$TRIPLE
bad --gmake gmake bad --gmake gmake
} }