From 456c40daa6fa785a931a639b47bb32a69fb8e93a Mon Sep 17 00:00:00 2001 From: fake Date: Wed, 5 Jan 2005 11:41:00 +0000 Subject: [PATCH] fake: samba: don't use --with-spinlocks on x86_64 [2004122604533623121] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5404 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/rene/samba/samba.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/rene/samba/samba.conf b/package/rene/samba/samba.conf index a91e219fd..139781262 100644 --- a/package/rene/samba/samba.conf +++ b/package/rene/samba/samba.conf @@ -29,7 +29,11 @@ var_append extraconfopt " " "--with-smbmount --with-automount \ --with-syslog --with-configdir=$sysconfdir \ --with-privatedir=$sysconfdir/private --with-codepagedir=$sysconfdir/codepages \ --with-swatdir=$root/$prefix/share/swat --with-quotas --with-fhs \ ---with-acl-support --with-libsmbclient --with-spinlocks" +--with-acl-support --with-libsmbclient" + +if ! [ "$arch" = x86 -a "$ROCKCFG_X86_BITS" = "64" ] ; then + var_append extraconfopt ' ' "--with-spinlocks" +fi # pam support pkginstalled pam && var_append extraconfopt ' ' "--with-pam --with-pam_smbpass"