aboutsummaryrefslogtreecommitdiffstats
path: root/main/libffi
diff options
context:
space:
mode:
Diffstat (limited to 'main/libffi')
-rw-r--r--main/libffi/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index 9291c6b206..7ea08ee543 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
@@ -15,7 +15,11 @@ source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$_builddir"
- ./configure --prefix=/usr || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}