package/libpng: enable neon support for aarch64
authorRomain Naour <romain.naour@gmail.com>
Sun, 3 May 2020 23:07:53 +0000 (01:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 9 May 2020 20:22:20 +0000 (22:22 +0200)
NEON support is enabled by default on aarch64, so we
can enable it unconditionaly.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libpng/libpng.mk

index 5c30a4f9ad56941cbc8972d8099025d714a441db..1a83c7e712018bda6173b120407105e512d4f659 100644 (file)
@@ -15,7 +15,7 @@ LIBPNG_DEPENDENCIES = host-pkgconf zlib
 HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
 LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
 
-ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
+ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y)
 LIBPNG_CONF_OPTS += --enable-arm-neon
 else
 LIBPNG_CONF_OPTS += --disable-arm-neon