From e7ad2c9d7b4d272703c84ae02b2896f42c2904b3ccd8133bf24f9ff49b6c65e5 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 15 May 2023 07:31:22 +0000 Subject: [PATCH] - do not use NEON instructions [bsc#1211176] OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=136 --- libpng16.changes | 5 +++++ libpng16.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libpng16.changes b/libpng16.changes index 60f03c5..5c0acc3 100644 --- a/libpng16.changes +++ b/libpng16.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 15 07:30:04 UTC 2023 - pgajdos@suse.com + +- do not use NEON instructions [bsc#1211176] + ------------------------------------------------------------------- Thu Apr 20 07:09:39 UTC 2023 - Frederic Crozat diff --git a/libpng16.spec b/libpng16.spec index a99ecf6..4b65372 100644 --- a/libpng16.spec +++ b/libpng16.spec @@ -106,7 +106,11 @@ export LDFLAGS="-Wl,-z,relro,-z,now" export CFLAGS="$CFLAGS -Og" %endif %configure \ - --disable-static --enable-hardware-optimizations=yes + --enable-hardware-optimizations=yes \ +%ifarch armv6l armv6hl + --enable-arm-neon=no +%endif + --disable-static %if %{asan_build} sed -i -e 's/^\(CFLAGS.*\)$/\1 -fsanitize=address/' \ -e 's/\(^LIBS =.*\)/\1 -lasan/' Makefile