aboutsummaryrefslogtreecommitdiffstats
path: root/main/smartmontools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/smartmontools/APKBUILD')
-rw-r--r--main/smartmontools/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/smartmontools/APKBUILD b/main/smartmontools/APKBUILD
index ffd1d9cda3..68130d849c 100644
--- a/main/smartmontools/APKBUILD
+++ b/main/smartmontools/APKBUILD
@@ -16,7 +16,12 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
build() {
cd "$srcdir"/$pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ || return 1
make || return 1
}