summaryrefslogtreecommitdiffstats
path: root/main/make/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/make/APKBUILD')
-rw-r--r--main/make/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/make/APKBUILD b/main/make/APKBUILD
index 124144ab8..06a4debc7 100644
--- a/main/make/APKBUILD
+++ b/main/make/APKBUILD
@@ -32,13 +32,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --build=${CBUILD} \
- --host=${CHOST} \
- --target=${CTARGET} \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
[ "$CBUILD" = "$CHOST" ] && (make check || return 1)
return 0