summaryrefslogtreecommitdiffstats
path: root/main/libusb-compat
diff options
context:
space:
mode:
Diffstat (limited to 'main/libusb-compat')
-rw-r--r--main/libusb-compat/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD
index 4952b3c97..39d036849 100644
--- a/main/libusb-compat/APKBUILD
+++ b/main/libusb-compat/APKBUILD
@@ -14,7 +14,12 @@ source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-build-docs
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-build-docs \
+ || return 1
make || return 1
}