[OE-core] [PATCH 10/16] gstreamer1.0-libav: disable asm for x32
Christopher Larson
kergoth at gmail.com
Thu Jan 5 19:46:22 UTC 2017
From: Christopher Larson <chris_larson at mentor.com>
The included libav lacks support for x32, so disable the assembly
optimizations.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
index ea01163..c228306 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -30,6 +30,10 @@ LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
${GSTREAMER_1_0_DEBUG} \
--cross-prefix='${HOST_PREFIX}'"
+# Disable assembly optimizations for X32, as this libav lacks the support
+PACKAGECONFIG_remove_linux-gnux32 = "yasm"
+LIBAV_EXTRA_CONFIGURE_COMMON_ARG_append_linux-gnux32 = " --disable-asm"
+
LIBAV_EXTRA_CONFIGURE_COMMON = \
'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"'
--
2.8.0
More information about the Openembedded-core
mailing list