summaryrefslogtreecommitdiffstats
path: root/main/libatasmart/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libatasmart/APKBUILD')
-rw-r--r--main/libatasmart/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/libatasmart/APKBUILD b/main/libatasmart/APKBUILD
index e73dcfc6b..4a30fbe7f 100644
--- a/main/libatasmart/APKBUILD
+++ b/main/libatasmart/APKBUILD
@@ -23,12 +23,16 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
- --localstatedir=/var
+ --localstatedir=/var \
+ || return 1
make || return 1
}