mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge #206230: x265: only disable assembly on riscv-cross builds
...into staging
This commit is contained in:
commit
cb835f1071
@ -35,8 +35,7 @@ let
|
|||||||
(mkFlag vtuneSupport "ENABLE_VTUNE")
|
(mkFlag vtuneSupport "ENABLE_VTUNE")
|
||||||
(mkFlag werrorSupport "WARNINGS_AS_ERRORS")
|
(mkFlag werrorSupport "WARNINGS_AS_ERRORS")
|
||||||
# Potentially riscv cross could be fixed by providing the correct CMAKE_SYSTEM_PROCESSOR flag
|
# Potentially riscv cross could be fixed by providing the correct CMAKE_SYSTEM_PROCESSOR flag
|
||||||
(mkFlag (with stdenv; !(isCross && hostPlatform.isRiscV || isDarwin && isAarch64)) "ENABLE_ASSEMBLY")
|
] ++ lib.optional (isCross && stdenv.hostPlatform.isRiscV) "-DENABLE_ASSEMBLY=OFF";
|
||||||
];
|
|
||||||
|
|
||||||
cmakeStaticLibFlags = [
|
cmakeStaticLibFlags = [
|
||||||
"-DHIGH_BIT_DEPTH=ON"
|
"-DHIGH_BIT_DEPTH=ON"
|
||||||
|
Loading…
Reference in New Issue
Block a user