[mongodb/f14/master] don't build the source in %install step for the second time and without the right CFLAGS
Dan Horák
sharkcz at fedoraproject.org
Fri Sep 24 17:24:30 UTC 2010
commit c2ca26e234011fd47b7f30655d2055c2a48f2f42
Author: Dan Horák <dan at danny.cz>
Date: Fri Sep 24 19:20:50 2010 +0200
don't build the source in %install step for the second time and without the right CFLAGS
mongodb.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mongodb.spec b/mongodb.spec
index f223bc2..49dae6e 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -93,12 +93,12 @@ sed -i 's/\r//' db/resource.h
sed -i 's/\r//' README
%build
-scons %{?_smp_mflags} --cppflags="%{optflags}" .
+scons %{?_smp_mflags} --cppflags="%{optflags} -fno-strict-aliasing" .
%install
rm -rf %{buildroot}
-scons install . --prefix=%{buildroot}%{_prefix} --nostrip --full
+scons install . --cppflags="%{optflags} -fno-strict-aliasing" --prefix=%{buildroot}%{_prefix} --nostrip --full
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
More information about the scm-commits
mailing list