x265: disable asm on riscv

This commit is contained in:
Nick Cao 2022-02-08 09:54:48 +08:00 committed by Jörg Thalheim
parent 07c8cfc592
commit ce512b678c

View File

@ -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 = [