Accepting request 1005893 from home:dirkmueller:Factory

- disable sse on non-x86 architectures

OBS-URL: https://build.opensuse.org/request/show/1005893
OBS-URL: https://build.opensuse.org/package/show/graphics/libimagequant?expand=0&rev=17
This commit is contained in:
Michael Vetter 2022-09-26 08:13:01 +00:00 committed by Git OBS Bridge
parent d9de658cb5
commit 7a15dd4910
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 16:00:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
- disable sse on non-x86 architectures
-------------------------------------------------------------------
Sat Nov 27 12:55:13 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libimagequant
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -55,7 +55,11 @@ C library for conversion of RGBA images to 8-bit indexed-color
%build
# This is not an autoconf configure, but the script simply ignores parameters it does not know
%configure --with-openmp
%configure \
%ifnarch %ix86 x86_64
--disable-sse \
%endif
--with-openmp
make %{?_smp_mflags}
%install