aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/samba/APKBUILD')
-rw-r--r--main/samba/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index d0fb47c9d2..596348cd9c 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -30,7 +30,10 @@ prepare() {
build() {
cd "$_builddir"/source3
- ./configure --prefix=/usr \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--sysconfdir=/etc/samba \
--with-configdir=/etc/samba \
--localstatedir=/var \
@@ -47,7 +50,8 @@ build() {
--enable-external-libtalloc \
--disable-nss-wrapper \
--disable-dnssd \
- --disable-swat
+ --disable-swat \
+ || return 1
make || return 1
}