summaryrefslogtreecommitdiffstats
path: root/main/ppp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ppp/APKBUILD')
-rw-r--r--main/ppp/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD
index 162d6da0f..57cc8966a 100644
--- a/main/ppp/APKBUILD
+++ b/main/ppp/APKBUILD
@@ -49,7 +49,11 @@ build () {
sed -i "s:^#CBCP=y:CBCP=y:" pppd/Makefile.linux
# Fix build error with recent kernels
rm include/linux/if_pppol2tp.h
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make COPTS="$CFLAGS" || return 1
}