summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/RHEL-CTDB')
-rw-r--r--packaging/RHEL-CTDB/samba.spec.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl
index 758fed66751..f907cda7df2 100644
--- a/packaging/RHEL-CTDB/samba.spec.tmpl
+++ b/packaging/RHEL-CTDB/samba.spec.tmpl
@@ -199,7 +199,7 @@ if [ ${CC_MAJOR} -ge 3 ]; then
fi
fi
-make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -m32" %{?_smp_mflags} \
+make %{?_smp_mflags} \
nss_modules pam_modules
rm -rf %{_32bit_tmp_dir}
@@ -263,7 +263,7 @@ if [ ${CC_MAJOR} -ge 3 ]; then
fi
-make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %{?_smp_mflags} \
+make %{?_smp_mflags} \
all modules pam_smbpass
# Remove some permission bits to avoid to many dependencies