From: Christopher Larson Date: Wed, 14 Dec 2016 03:04:00 +0000 (-0700) Subject: gstreamer1.0-libav: disable asm for x32 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~23116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bac614503d0d9fda03b087501690e5f8262d966;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 ea011637c20..c2283061cc0 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}"'