diff --git a/kyotocabinet.changes b/kyotocabinet.changes index 87dfa8f..8615cd3 100644 --- a/kyotocabinet.changes +++ b/kyotocabinet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 9 14:46:10 UTC 2017 - werner@suse.de + +- boo#1037914: Do not optimize for native cpu of the build system! + ------------------------------------------------------------------- Tue Apr 4 03:47:22 UTC 2017 - crrodriguez@opensuse.org diff --git a/kyotocabinet.spec b/kyotocabinet.spec index 41c7869..02bcc26 100644 --- a/kyotocabinet.spec +++ b/kyotocabinet.spec @@ -117,6 +117,7 @@ sed -ie "/ldconfig/d" Makefile.in sed -ie "/DOCDIR/d" Makefile.in %build +sed -ri 's/-march=native/-O2 -g3/g' configure.in autoreconf -iv export CFLAGS="%optflags"; export CXXFLAGS="%optflags";