8
0
forked from pool/libcryptopp

Accepting request 994224 from home:bmwiedemann:branches:devel:libraries:c_c++

Enable SSE2 to fix i586 build

note: tests Segfault - FIXME

OBS-URL: https://build.opensuse.org/request/show/994224
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcryptopp?expand=0&rev=72
This commit is contained in:
2022-08-10 05:40:03 +00:00
committed by Git OBS Bridge
parent 66a9d83533
commit fed7ccd83e
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 10 04:17:28 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
- Enable SSE2 to fix i586 build
-------------------------------------------------------------------
Tue Aug 9 07:18:25 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -76,6 +76,9 @@ curve crypto. This package is used for crypto++ development.
%define _lto_cflags %{nil}
%endif
CXXFLAGS="-DNDEBUG %{optflags} -fpic -fPIC -pthread -fopenmp"
%ifarch i586
CXXFLAGS="$CXXFLAGS -mmmx -msse2"
%endif
# aarch64 arm -march=armv7-a -mfpu=neon
%ifarch ppc64
CXXFLAGS="$CXXFLAGS -DCRYPTOPP_DISABLE_ALTIVEC"