From 69e3372d809d9f8dd23997e5c13d04cfaed30e522d63e21e7212e7805025d33d Mon Sep 17 00:00:00 2001 From: Dmitriy Perlow Date: Sun, 29 Jul 2018 10:38:29 +0000 Subject: [PATCH] Accepting request 625008 from home:bmwiedemann:branches:games Disable CPU detection during compile time and assume SSE2 is available everywhere (is sold by AMD since ~2003), but AVX is not (boo#1100677) OBS-URL: https://build.opensuse.org/request/show/625008 OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=27 --- gnubg.changes | 5 +++++ gnubg.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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