diff mbox series

[1/1] package/libpng: fix arm build

Message ID 20241102074318.5159-1-bernd@kuhls.net
State Superseded
Headers show
Series [1/1] package/libpng: fix arm build | expand

Commit Message

Bernd Kuhls Nov. 2, 2024, 7:43 a.m. UTC
Bumping libpng to 1.6.44 with buildroot commit
583bb434ffe1eec0dbf6887dd719c3f41a6253e9
causes a build failure on arm.

Gentoo solved the problem by removing --enable-arm-neon, for details see
https://bugs.gentoo.org/939819#c3
https://github.com/pnggroup/libpng/issues/598#issuecomment-2360338728

Fixes:
https://autobuild.buildroot.org/results/c67e3101005ef7b4d0eaf6eb8a93f22446643dbd/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libpng/libpng.mk | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk
index 9761993d79..09b4494909 100644
--- a/package/libpng/libpng.mk
+++ b/package/libpng/libpng.mk
@@ -17,14 +17,6 @@  HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
 LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
 LIBPNG_CONF_OPTS = --disable-tools
 
-ifeq ($(BR2_aarch64),y)
-LIBPNG_CONF_OPTS += --enable-arm-neon
-else ifeq ($(BR2_ARM_CPU_HAS_NEON):$(BR2_ARM_SOFT_FLOAT),y:)
-LIBPNG_CONF_OPTS += --enable-arm-neon
-else
-LIBPNG_CONF_OPTS += --disable-arm-neon
-endif
-
 ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
 LIBPNG_CONF_OPTS += --enable-intel-sse
 else