x265: dont build high bit-depths for 32bit systems (#96260)

This commit is contained in:
Fabian Möller 2020-08-31 06:40:39 +02:00 committed by GitHub
parent d436250596
commit 8ef6f4bd56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;