diff --git a/gnubg.changes b/gnubg.changes index 1645ef7..f426b3a 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 24 09:19:57 UTC 2018 - bwiedemann@suse.com + +- Disable CPU detection during compile time and assume SSE2 is available everywhere, but AVX is not (boo#1100677) + ------------------------------------------------------------------- Mon Apr 18 10:40:48 UTC 2016 - dimstar@opensuse.org diff --git a/gnubg.spec b/gnubg.spec index 3e456ee..03e660e 100644 --- a/gnubg.spec +++ b/gnubg.spec @@ -113,7 +113,11 @@ fi %build autoreconf -fi export SUSE_ASNEEDED=1 -%configure --docdir=%{_docdir}/%{name} +simd=no +%ifarch %ix86 x86_64 +simd=sse2 +%endif +%configure --docdir=%{_docdir}/%{name} --enable-simd=$simd make %{?_smp_mflags} %install