aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcre/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/pcre/APKBUILD')
-rw-r--r--main/pcre/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD
index c0af61aefc..c90d95069a 100644
--- a/main/pcre/APKBUILD
+++ b/main/pcre/APKBUILD
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--enable-jit \
--enable-utf8 \
--enable-unicode-properties \
@@ -33,7 +36,8 @@ build() {
--enable-pcre32 \
--with-match-limit-recursion=8192 \
--htmldir=/usr/share/doc/$pkgname-$pkgver/html \
- --docdir=/usr/share/doc/$pkgname-$pkgver
+ --docdir=/usr/share/doc/$pkgname-$pkgver \
+ || return 1
make || return 1
}