aboutsummaryrefslogtreecommitdiffstats
path: root/main/parted/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/parted/APKBUILD')
-rw-r--r--main/parted/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/parted/APKBUILD b/main/parted/APKBUILD
index f06fc54ebc..9bac464fd5 100644
--- a/main/parted/APKBUILD
+++ b/main/parted/APKBUILD
@@ -14,10 +14,14 @@ source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-debug \
--disable-nls \
- --disable-Werror
+ --disable-Werror \
+ || return 1
make || return 1
}