[kyotocabinet/f15] Fix for bug 735822

Casey Dahlin sadmac at fedoraproject.org
Wed Oct 19 22:15:49 UTC 2011


commit 28048c731856df70398e5103c3eda72cc1c2531b
Author: Casey Dahlin <cdahlin at redhat.com>
Date:   Wed Oct 19 18:12:12 2011 -0400

    Fix for bug 735822

 kyotocabinet.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/kyotocabinet.spec b/kyotocabinet.spec
index ed14024..5f67287 100644
--- a/kyotocabinet.spec
+++ b/kyotocabinet.spec
@@ -2,7 +2,7 @@
 
 Name:           kyotocabinet
 Version:        1.2.70
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A lightweight database library
 
 Group:          System Environment/Libraries
@@ -40,9 +40,10 @@ applications that use %{name}.
 
 %prep
 %setup -q
+sed -i -e 's/ -g0 -O2//' -e 's/ -O0//' configure
 
 %build
-%configure --disable-rpath --docdir=%{doctarget}
+%configure --disable-rpath --disable-opt --docdir=%{doctarget}
 make LDENV= %{?_smp_mflags}
 
 
@@ -349,6 +350,10 @@ rm -rf $RPM_BUILD_ROOT
 %{doctarget}/doc/api/tabs.css
 
 %changelog
+* Wed Oct 19 2011 Casey Dahlin <cdahlin at redhat.com> - 1.2.70-2
+- Prevent -march=native build flag [735822], credit Ville Skyatta
+  <ville.skyata at iki.fi>
+
 * Mon Aug 31 2011 Casey Dahlin <cdahlin at redhat.com> - 1.2.70-1
 - Update to latest upstream
 


More information about the scm-commits mailing list