https://sourceforge.net/p/libpng/code/ci/libpng16/tree/CHANGES

* Add RISC-V vector option.

* Re-add lost ARM NEON optimization. I removed this, misunderstanding
the work done.

* Disable automatic hardware optimization as it does not seem to get
ARM soft-float cases right. This relies on manual per arch selection.

Signed-off-by: Christian Melki <[email protected]>
---
 rules/libpng.make | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/rules/libpng.make b/rules/libpng.make
index 07c6ea99b..5b0fa8977 100644
--- a/rules/libpng.make
+++ b/rules/libpng.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_LIBPNG) += libpng
 #
 # Paths and names
 #
-LIBPNG_VERSION := 1.6.48
-LIBPNG_MD5     := 6ddbe2107e3811d51da698794b8fb4a2
+LIBPNG_VERSION := 1.6.50
+LIBPNG_MD5     := e583e61455c4f40d565d85c0e9a2fbf9
 LIBPNG         := libpng-$(LIBPNG_VERSION)
 LIBPNG_SUFFIX  := tar.xz
 LIBPNG_URL     := $(call ptx/mirror, SF, libpng/$(LIBPNG).$(LIBPNG_SUFFIX))
@@ -34,18 +34,21 @@ LIBPNG_LICENSE_FILES := \
 LIBPNG_WRAPPER_BLACKLIST := TARGET_DEBUG_FULL
 
 LIBPNG_CONF_TOOL:= autoconf
-LIBPNG_CONF_OPT := \
+LIBPNG_CONF_OPT  = \
        $(CROSS_AUTOCONF_USR) \
        --disable-tests \
        --disable-tools \
        --enable-unversioned-links \
        --enable-unversioned-libpng-pc \
        --enable-unversioned-libpng-config \
+       --disable-hardware-optimizations \
+       --$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-arm-neon \
        --disable-mips-msa \
        --disable-mips-mmi \
        --$(call ptx/endis, PTXCONF_ARCH_X86)-intel-sse \
        --disable-powerpc-vsx \
        --disable-loongarch-lsx \
+       --$(call ptx/endis, PTXCONF_ARCH_RISCV)-riscv-rvv \
        --with-binconfigs
 
 # ----------------------------------------------------------------------------
-- 
2.34.1


Reply via email to