From: Christopher Larson Date: Wed, 14 Dec 2016 03:04:00 +0000 (-0700) Subject: gstreamer1.0-libav: disable asm for x32 X-Git-Tag: uninative-1.5~919 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7bac614503d0d9fda03b087501690e5f8262d966;p=openembedded-core.git gstreamer1.0-libav: disable asm for x32 The included libav lacks support for x32, so disable the assembly optimizations. Signed-off-by: Christopher Larson Signed-off-by: Ross Burton --- diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc index ea011637c2..c2283061cc 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}"'