From fed7ccd83e3a9bf8c0589a727811aaa603749fa49e38b51198e3bdd8c55a683b Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Wed, 10 Aug 2022 05:40:03 +0000 Subject: [PATCH] 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 --- libcryptopp.changes | 5 +++++ libcryptopp.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libcryptopp.changes b/libcryptopp.changes index 520eebb..15cde9a 100644 --- a/libcryptopp.changes +++ b/libcryptopp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 10 04:17:28 UTC 2022 - Bernhard Wiedemann + +- Enable SSE2 to fix i586 build + ------------------------------------------------------------------- Tue Aug 9 07:18:25 UTC 2022 - Bernhard Wiedemann diff --git a/libcryptopp.spec b/libcryptopp.spec index 30ed86f..e6de2da 100644 --- a/libcryptopp.spec +++ b/libcryptopp.spec @@ -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"