summaryrefslogtreecommitdiffstats
path: root/main/iproute2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iproute2/APKBUILD')
-rw-r--r--main/iproute2/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/iproute2/APKBUILD b/main/iproute2/APKBUILD
index f0bf0056e..ade1959df 100644
--- a/main/iproute2/APKBUILD
+++ b/main/iproute2/APKBUILD
@@ -31,7 +31,10 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-$_realver
- ./configure || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ || return 1
make CCOPTS="-D_GNU_SOURCE $CFLAGS" LIBDIR=/lib || return 1
}