Skip to contentSkip to conversation

package/libpng: fix arm build

PATCH New Bernd Kuhls 1 participant 1 message Nov 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpng: fix arm build

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/

---
 package/libpng/libpng.mk | 8 --------
 1 file changed, 8 deletions(-)
package/libpng/libpng.mk +0 -8
index 9761993d79..09b4494909 100644
@@ -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
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot