ffmpeg: disable x86 asm for old CPU types

This is a workaround for NASM being totally broken.

I have two patches, one for master and another for 19.07 that upstream is
not merging.

https://patchwork.ozlabs.org/patch/1221696/
https://patchwork.ozlabs.org/patch/1221697/

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 013162d079)
This commit is contained in:
Rosen Penev
2020-02-15 22:24:21 -08:00
parent dbef699276
commit bd24f9bb34
2 changed files with 10 additions and 4 deletions
+8
View File
@@ -1,3 +1,11 @@
config FFMPEG_X86ASM
bool "Compile x86 ASM"
depends on (x86_64 || (i386 && !(TARGET_x86_geode || TARGET_x86_legacy)))
help
This compiles ffmpeg with x86 assembly optimizations. This option is needed as NASM is
totally broken with CPU_TYPE=pentium.
default y
if PACKAGE_libffmpeg-custom
comment "Build Licensing"