From: Michael Adam Date: Mon, 29 Jun 2009 15:05:00 +0000 (+0200) Subject: packaging(RHEL-CTDB): don't pass CFLAGS to make. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=58c72fa02ce943bb47287ca53bfb657b0b1e5b26;p=samba.git 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 --- 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