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.j...@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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to