summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-06-29 17:05:00 +0200
committerMichael Adam <obnox@samba.org>2009-11-13 16:19:35 +0100
commit2869772e738b049cf24afe810cb4ccb9cb641eea (patch)
treee6afc30eac6d730faa6b022952b69aae3fe9e197 /packaging/RHEL-CTDB
parentde3b6339832dc1ef48fa0986887f697be6230b60 (diff)
downloadsamba-2869772e738b049cf24afe810cb4ccb9cb641eea.tar.gz
samba-2869772e738b049cf24afe810cb4ccb9cb641eea.tar.bz2
samba-2869772e738b049cf24afe810cb4ccb9cb641eea.zip
packaging(RHEL-CTDB): don't pass CFLAGS to make.
This breaks the build since 3.3 since it overwrites the CFLAGS set by configure. Michael
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 758fed6675..f907cda7df 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