- do not use NEON instructions [bsc#1211176]

OBS-URL: https://build.opensuse.org/package/show/graphics/libpng16?expand=0&rev=136
This commit is contained in:
Petr Gajdos 2023-05-15 07:31:22 +00:00 committed by Git OBS Bridge
parent 7f2791a459
commit e7ad2c9d7b
2 changed files with 10 additions and 1 deletions

View File

@ -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 <fcrozat@suse.com> Thu Apr 20 07:09:39 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@ -106,7 +106,11 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
export CFLAGS="$CFLAGS -Og" export CFLAGS="$CFLAGS -Og"
%endif %endif
%configure \ %configure \
--disable-static --enable-hardware-optimizations=yes --enable-hardware-optimizations=yes \
%ifarch armv6l armv6hl
--enable-arm-neon=no
%endif
--disable-static
%if %{asan_build} %if %{asan_build}
sed -i -e 's/^\(CFLAGS.*\)$/\1 -fsanitize=address/' \ sed -i -e 's/^\(CFLAGS.*\)$/\1 -fsanitize=address/' \
-e 's/\(^LIBS =.*\)/\1 -lasan/' Makefile -e 's/\(^LIBS =.*\)/\1 -lasan/' Makefile