Fix for bug 735822

This commit is contained in:
Casey Dahlin 2011-10-19 18:12:12 -04:00
parent bebfb1ef8b
commit 28048c7318

View File

@ -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@redhat.com> - 1.2.70-2
- Prevent -march=native build flag [735822], credit Ville Skyatta
<ville.skyata@iki.fi>
* Mon Aug 31 2011 Casey Dahlin <cdahlin@redhat.com> - 1.2.70-1
- Update to latest upstream