[oe-commits] Koen Kooi : libpng 1.6.13: fix build for aarch64

git at git.openembedded.org git at git.openembedded.org
Tue Dec 23 10:18:53 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 100a46e19da87964d11e11d1af1e59c27a1d5241
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=100a46e19da87964d11e11d1af1e59c27a1d5241

Author: Koen Kooi <koen.kooi at linaro.org>
Date:   Thu Dec 18 16:51:04 2014 +0800

libpng 1.6.13: fix build for aarch64

The configure override was too restrictive, it needed both 'arm' and
'neon' to trigger, which breaks on aarch64. Since TUNE_FEATURES is the
only qualifier that matters, drop the 'arm' override.

Buildtested for 'genericarmv8' and 'qemux86' machines.

[RP: Added class-target override to avoid failures for libpng-native]
Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-multimedia/libpng/libpng_1.6.13.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.13.bb b/meta/recipes-multimedia/libpng/libpng_1.6.13.bb
index 0c6fd1f..2c6260a 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.13.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.13.bb
@@ -19,7 +19,7 @@ BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
 inherit autotools binconfig-disabled pkgconfig
 
 # Work around missing symbols
-EXTRA_OECONF_append_arm = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
+EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "neon", "--enable-arm-neon=on", "--enable-arm-neon=off" ,d)}"
 
 PACKAGES =+ "${PN}-tools"
 



More information about the Openembedded-commits mailing list