Skip to content

Commit b7552f8

Browse files
committed
FFmpeg build: Disable asm for Linux build
Our old ffmpeg version doesn't compile anymore on Linux due to some incompatibilities with newer build tools. At some point we need to update the FFmpeg version, but this fixes it for now.
1 parent d9efa8e commit b7552f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ffmpeg/build-scripts/build_ffmpeg.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ opts="\
4747
--disable-filters \
4848
--disable-debug"
4949

50+
if [[ "$(uname -s)" == "Linux" ]]; then
51+
opts="$opts --disable-asm"
52+
fi
53+
5054
# we need no video or subtitle decoders
5155
# obtain list of video and subtitle decoders via:
5256
# ffmpeg -decoders | egrep '^ [VS][\.A-Z]{5} [^=]' | sed -E 's/^ [VS][\.A-Z]{5} +([[:graph:]]+) .*$/--disable-decoder=\1 \\/g'

0 commit comments

Comments
 (0)