x265: fix build on powerpc
Disable Altivec instructions on ppc when building 10/12bit. See https://salsa.debian.org/multimedia-team/x265/-/blob/6f06b3f6/debian/rules#L34
This commit is contained in:
parent
ca5c4f96b4
commit
597f94db3e
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ let
|
|||
(mkFlag custatsSupport "DETAILED_CU_STATS")
|
||||
(mkFlag unittestsSupport "ENABLE_TESTS")
|
||||
(mkFlag werrorSupport "WARNINGS_AS_ERRORS")
|
||||
] ++ stdenv.lib.optionals stdenv.hostPlatform.isPower [
|
||||
"-DENABLE_ALTIVEC=OFF"
|
||||
];
|
||||
|
||||
version = "3.2";
|
||||
|
|
Loading…
Reference in a new issue