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:
@@ -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>
|
Tue Aug 9 07:18:25 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -76,6 +76,9 @@ curve crypto. This package is used for crypto++ development.
|
|||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
%endif
|
%endif
|
||||||
CXXFLAGS="-DNDEBUG %{optflags} -fpic -fPIC -pthread -fopenmp"
|
CXXFLAGS="-DNDEBUG %{optflags} -fpic -fPIC -pthread -fopenmp"
|
||||||
|
%ifarch i586
|
||||||
|
CXXFLAGS="$CXXFLAGS -mmmx -msse2"
|
||||||
|
%endif
|
||||||
# aarch64 arm -march=armv7-a -mfpu=neon
|
# aarch64 arm -march=armv7-a -mfpu=neon
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
CXXFLAGS="$CXXFLAGS -DCRYPTOPP_DISABLE_ALTIVEC"
|
CXXFLAGS="$CXXFLAGS -DCRYPTOPP_DISABLE_ALTIVEC"
|
||||||
|
|||||||
Reference in New Issue
Block a user