aboutsummaryrefslogtreecommitdiffstats
path: root/main/openvpn/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/openvpn/APKBUILD')
-rw-r--r--main/openvpn/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD
index 487c907bdc..61bb99b047 100644
--- a/main/openvpn/APKBUILD
+++ b/main/openvpn/APKBUILD
@@ -31,13 +31,17 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc/openvpn \
--enable-ssl \
--enable-crypto \
--enable-password-save \
- --enable-iproute2
+ --enable-iproute2 \
+ || return 1
make || return 1
cd plugin/down-root