summaryrefslogtreecommitdiffstats
path: root/main/lua5.2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua5.2/APKBUILD')
-rw-r--r--main/lua5.2/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD
index 4f4af2e5e..66edf7b22 100644
--- a/main/lua5.2/APKBUILD
+++ b/main/lua5.2/APKBUILD
@@ -44,7 +44,11 @@ EOF
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
cd src
make V=$pkgver \
CFLAGS=" -DLUA_USE_LINUX -DLUA_COMPAT_ALL" \