From 9dd4d61dcce1fd551833c87e749968236652892197c643a46d05e300e86eb92e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 9 May 2017 14:56:11 +0000 Subject: [PATCH] boo#1037914 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/kyotocabinet?expand=0&rev=19 --- kyotocabinet.changes | 5 +++++ kyotocabinet.spec | 1 + 2 files changed, 6 insertions(+) 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";