Skip to contentSkip to conversation

libjpeg-turbo: fix build error on x32 ABI

PATCH New Maxin B. John 1 participant 1 message Dec 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libjpeg-turbo: fix build error on x32 ABI

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

---
 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.2.bb +3 -0
index 0947763..da1923f 100644
@@ -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."
Signature · 1 line
2.4.0