x265: only disable assembly on riscv-cross builds
This commit is contained in:
parent
a2232d0c6b
commit
fde44ef915
|
@ -35,8 +35,7 @@ let
|
|||
(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")
|
||||
];
|
||||
] ++ lib.optional (isCross && stdenv.hostPlatform.isRiscV) "-DENABLE_ASSEMBLY=OFF";
|
||||
|
||||
cmakeStaticLibFlags = [
|
||||
"-DHIGH_BIT_DEPTH=ON"
|
||||
|
|
Loading…
Reference in a new issue