mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-19 05:43:51 -09:00
package/libpng: fix arm soft-float build
Bumping libpng to 1.6.44 with buildroot commit
583bb434ff
causes a build failure on arm because the NEON code is only available
for softfp and hardfp ABIs, and not soft-float.
Fixes:
http://autobuild.buildroot.net/results/021/02158525203d8c7f16a4a32637d44d6c87b7f333/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Co-authored-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
028d047ceb
commit
a100286aa1
@@ -17,7 +17,9 @@ HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
|
||||
LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
|
||||
LIBPNG_CONF_OPTS = --disable-tools
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user