aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb
diff options
context:
space:
mode:
Diffstat (limited to 'main/libusb')
-rw-r--r--main/libusb/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD
index 4de038b5ee..72feccc2be 100644
--- a/main/libusb/APKBUILD
+++ b/main/libusb/APKBUILD
@@ -27,7 +27,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$_ver
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ || return 1
make || return 1
}