aboutsummaryrefslogtreecommitdiffstats
path: root/main/libconfig/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libconfig/APKBUILD')
-rw-r--r--main/libconfig/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/libconfig/APKBUILD b/main/libconfig/APKBUILD
index d86ce9bf05..615f12e46d 100644
--- a/main/libconfig/APKBUILD
+++ b/main/libconfig/APKBUILD
@@ -14,9 +14,13 @@ subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
- --disable-cxx
+ --disable-cxx \
+ || return 1
make || return 1
}