diff options
Diffstat (limited to 'main/upower/APKBUILD')
-rw-r--r-- | main/upower/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/upower/APKBUILD b/main/upower/APKBUILD index 1d0a6eae5a..3e2a7c764c 100644 --- a/main/upower/APKBUILD +++ b/main/upower/APKBUILD @@ -15,11 +15,15 @@ source="http://upower.freedesktop.org/releases/upower-$pkgver.tar.xz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/upower \ - --disable-static + --disable-static \ + || return 1 make } |