git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3b633
)
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
Michael Adam
<obnox@samba.org>
Fri, 13 Nov 2009 15:19:35 +0000
(16:19 +0100)
This breaks the build since 3.3 since it overwrites the CFLAGS
set by configure.
Michael
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