aboutsummaryrefslogtreecommitdiffstats
path: root/main/c-ares
diff options
context:
space:
mode:
Diffstat (limited to 'main/c-ares')
-rw-r--r--main/c-ares/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD
index 69c2c60565..4e9e7b105f 100644
--- a/main/c-ares/APKBUILD
+++ b/main/c-ares/APKBUILD
@@ -15,10 +15,14 @@ source="http://c-ares.haxx.se/download/${pkgname}-${pkgver}.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-shared
+ --enable-shared \
+ || return 1
make || return 1
}