git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f4fa4
)
packaging(RHEL-CTDB): don't pass CFLAGS to make.
author
Michael Adam
<obnox@samba.org>
Mon, 29 Jun 2009 15:05:00 +0000
(17:05 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 26 Nov 2009 10:40:48 +0000
(11:40 +0100)
This breaks the build since 3.3 since it overwrites the CFLAGS
set by configure.
Michael
(cherry picked from commit
58c72fa02ce943bb47287ca53bfb657b0b1e5b26
)
packaging/RHEL-CTDB/samba.spec.tmpl
patch
|
blob
|
history
diff --git
a/packaging/RHEL-CTDB/samba.spec.tmpl
b/packaging/RHEL-CTDB/samba.spec.tmpl
index 758fed667518f93c5e6afb1c346e75e422d86553..f907cda7df2ffb4ce0c25fca217f9da36dc7ee17 100644
(file)
--- 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