From 7a15dd49108e04e736baf66f6b6f9c490cb01640b0ee97f40294b0263938c0be Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 26 Sep 2022 08:13:01 +0000 Subject: [PATCH] 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 --- libimagequant.changes | 5 +++++ libimagequant.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libimagequant.changes b/libimagequant.changes index e793734..50b4a24 100644 --- a/libimagequant.changes +++ b/libimagequant.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 8 16:00:39 UTC 2022 - Dirk Müller + +- disable sse on non-x86 architectures + ------------------------------------------------------------------- Sat Nov 27 12:55:13 UTC 2021 - Dirk Müller diff --git a/libimagequant.spec b/libimagequant.spec index 4c2fac6..66c7450 100644 --- a/libimagequant.spec +++ b/libimagequant.spec @@ -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