Commit 9444bd23 authored by jopejoe1's avatar jopejoe1
Browse files

ffmpeg: only use asm on x86 platforms

ffmpeg only supports using nasm and yasm on x86 based platforms
parent 8a1999ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -827,7 +827,7 @@ stdenv.mkDerivation (
      pkg-config
    ]
    # 8.0 is only compatible with nasm, and we don't want to rebuild all older ffmpeg builds at this moment.
    ++ (if versionOlder version "8.0" then [ yasm ] else [ nasm ])
    ++ optionals stdenv.hostPlatform.isx86 (if versionOlder version "8.0" then [ yasm ] else [ nasm ])
    # Texinfo version 7.1 introduced breaking changes, which older versions of ffmpeg do not handle.
    ++ (if versionOlder version "5" then [ texinfo6 ] else [ texinfo ])
    ++ optionals withCudaLLVM [ clang ]