gnu: x265: Fix build on ppc64le.

* gnu/packages/video.scm (x265)[arguments]: Disable ALTIVEC for ppc64le.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Marcel van der Boom 2022-08-10 09:19:02 +02:00 committed by Mathieu Othacehe
parent 4c846ba9eb
commit a7c14a8225
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1252,6 +1252,10 @@ (define-public x265
,@(if (target-aarch64?)
'("-DENABLE_ASSEMBLY=OFF")
'())
;; Altivec code produces many build errors.
,@(if (target-ppc64le?)
'("-DENABLE_ALTIVEC=OFF")
'())
"-DHIGH_BIT_DEPTH=ON"
"-DEXPORT_C_API=OFF"
"-DENABLE_CLI=OFF"
@ -1272,6 +1276,10 @@ (define-public x265
,@(if (target-aarch64?)
'("-DENABLE_ASSEMBLY=OFF")
'())
;; Altivec code produces many build errors.
,@(if (target-ppc64le?)
'("-DENABLE_ALTIVEC=OFF")
'())
"-DHIGH_BIT_DEPTH=ON"
"-DEXPORT_C_API=OFF"
"-DENABLE_CLI=OFF"