summaryrefslogtreecommitdiffstats
path: root/main/enca/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/enca/APKBUILD')
-rw-r--r--main/enca/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/enca/APKBUILD b/main/enca/APKBUILD
index 8e3e1095e..166fe99d7 100644
--- a/main/enca/APKBUILD
+++ b/main/enca/APKBUILD
@@ -22,13 +22,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libexecdir=/usr/lib \
--enable-external \
- --without-libiconv
+ --without-libiconv \
+ || return 1
make || return 1
}