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
This commit is contained in:
Dmitriy Perlow 2018-07-29 10:38:29 +00:00 committed by Git OBS Bridge
parent 9213207e89
commit 676b7f5eee
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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