summaryrefslogtreecommitdiffstats
path: root/main/re2c/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/re2c/APKBUILD')
-rw-r--r--main/re2c/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/re2c/APKBUILD b/main/re2c/APKBUILD
index 8d994b437..1a7362bbf 100644
--- a/main/re2c/APKBUILD
+++ b/main/re2c/APKBUILD
@@ -23,10 +23,14 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
}