aboutsummaryrefslogtreecommitdiffstats
path: root/main/ethtool/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ethtool/APKBUILD')
-rw-r--r--main/ethtool/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/ethtool/APKBUILD b/main/ethtool/APKBUILD
index 81709fb239..878f11cb98 100644
--- a/main/ethtool/APKBUILD
+++ b/main/ethtool/APKBUILD
@@ -15,8 +15,12 @@ _builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}