aboutsummaryrefslogtreecommitdiffstats
path: root/main/popt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/popt/APKBUILD')
-rw-r--r--main/popt/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/popt/APKBUILD b/main/popt/APKBUILD
index 33fa56032f..e5d902c44e 100644
--- a/main/popt/APKBUILD
+++ b/main/popt/APKBUILD
@@ -11,10 +11,12 @@ makedepends="!libiconv-dev"
source="http://rpm5.org/files/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
-build ()
-{
+build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--libdir=/lib \
--disable-static \
|| return 1