summaryrefslogtreecommitdiffstats
path: root/main/grep/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/grep/APKBUILD')
-rw-r--r--main/grep/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index 0be303767..3303e7bd6 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
@@ -16,11 +16,15 @@ source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}