[OE-core] [PATCH] libjpeg-turbo: fix build error on x32 ABI

Maxin B. John maxin.john at intel.com
Mon Dec 7 08:33:22 UTC 2015


libjpeg-turbo doesn't support x32 ABI now. Work around missing x32 ABI
support by building with "--without-simd" option.

Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb
index 0947763..da1923f 100644
--- a/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb
+++ b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb
@@ -25,6 +25,9 @@ RCONFLICTS_${PN} += "jpeg"
 
 inherit autotools pkgconfig
 
+# Work around missing x32 ABI support
+EXTRA_OECONF_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--without-simd", "", d)}"
+
 PACKAGES =+ "jpeg-tools libturbojpeg"
 
 DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to access libjpeg functionality.  These tools allow for the compression, decompression, transformation and display of JPEG files and benchmarking of the libjpeg library."
-- 
2.4.0




More information about the Openembedded-core mailing list