Merge pull request #204118 from Mic92/ffmpeg-riscv

ffmpeg: fix cross-compilation on riscv
This commit is contained in:
Jörg Thalheim
2022-12-03 07:30:56 +01:00
committed by GitHub
@@ -34,6 +34,8 @@ let
(mkFlag ppaSupport "ENABLE_PPA")
(mkFlag vtuneSupport "ENABLE_VTUNE")
(mkFlag werrorSupport "WARNINGS_AS_ERRORS")
# Potentially riscv cross could be fixed by providing the correct CMAKE_SYSTEM_PROCESSOR flag
(mkFlag (!(isCross && stdenv.hostPlatform.isRiscV)) "ENABLE_ASSEMBLY")
];
cmakeStaticLibFlags = [