From 2869772e738b049cf24afe810cb4ccb9cb641eea Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 29 Jun 2009 17:05:00 +0200 Subject: 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 --- packaging/RHEL-CTDB/samba.spec.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packaging/RHEL-CTDB') 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 -- cgit