aboutsummaryrefslogtreecommitdiffstats
path: root/main/acct/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/acct/APKBUILD')
-rw-r--r--main/acct/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD
index 921cdca414..d0a7142f9b 100644
--- a/main/acct/APKBUILD
+++ b/main/acct/APKBUILD
@@ -25,10 +25,14 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
# seems like this makefile does not respect DESTDIR
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir="$pkgdir"/usr/share/man \
--infodir="$pkgdir"/usr/share/info \
- --enable-linux-multiformat
+ --enable-linux-multiformat \
+ || return 1
make LDADD="-lm lib/libgnu.la" || return 1
}