x265: dont build high bit-depths for 32bit systems (#96260)
This commit is contained in:
parent
d436250596
commit
8ef6f4bd56
@ -84,9 +84,11 @@ stdenv.mkDerivation rec {
|
||||
"-DENABLE_SHARED=ON"
|
||||
"-DHIGH_BIT_DEPTH=OFF"
|
||||
"-DENABLE_HDR10_PLUS=OFF"
|
||||
] ++ stdenv.lib.optionals is64bit [
|
||||
"-DEXTRA_LIB=${libx265-10}/lib/libx265.a;${libx265-12}/lib/libx265.a"
|
||||
"-DLINKED_10BIT=ON"
|
||||
"-DLINKED_12BIT=ON"
|
||||
] ++ [
|
||||
(mkFlag cliSupport "ENABLE_CLI")
|
||||
] ++ cmakeFlagsAll;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user