SHA256
1
0
forked from pool/kyotocabinet

Accepting request 493775 from devel:libraries:c_c++

- boo#1037914: Do not optimize for native cpu of the build system!

OBS-URL: https://build.opensuse.org/request/show/493775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kyotocabinet?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2017-05-17 08:46:38 +00:00 committed by Git OBS Bridge
commit 751f3d957d
2 changed files with 6 additions and 0 deletions

View File

@ -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 Tue Apr 4 03:47:22 UTC 2017 - crrodriguez@opensuse.org

View File

@ -117,6 +117,7 @@ sed -ie "/ldconfig/d" Makefile.in
sed -ie "/DOCDIR/d" Makefile.in sed -ie "/DOCDIR/d" Makefile.in
%build %build
sed -ri 's/-march=native/-O2 -g3/g' configure.in
autoreconf -iv autoreconf -iv
export CFLAGS="%optflags"; export CFLAGS="%optflags";
export CXXFLAGS="%optflags"; export CXXFLAGS="%optflags";