From: Alexander Kanavin Date: Fri, 26 Jun 2020 07:18:18 +0000 (+0200) Subject: ffmpeg: disable altivec on ppc by default X-Git-Tag: uninative-2.9~393 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2e9d7d31622c5bc45511f82df40d592ef165d7d9;p=openembedded-core.git ffmpeg: disable altivec on ppc by default Since 4.3 ffmpeg uses vsx-specific instructions, which aren't available on older ppc machines (including qemuppc): https://github.com/FFmpeg/FFmpeg/commit/3a557c5d88b7b15b5954ba2743febb055549b536 This disables using the instructions with an option to re-enable them for vsx-capable targets. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb index 2b0c38d782..b4cf278cb2 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.bb @@ -57,6 +57,7 @@ PACKAGECONFIG[avresample] = "--enable-avresample,--disable-avresample" # features to support PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" +PACKAGECONFIG[altivec] = "--enable-altivec,--disable-altivec," PACKAGECONFIG[bzlib] = "--enable-bzlib,--disable-bzlib,bzip2" PACKAGECONFIG[fdk-aac] = "--enable-libfdk-aac --enable-nonfree,--disable-libfdk-aac,fdk-aac" PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl"