From a7c14a82255526173f15c05d921a6048063e7378 Mon Sep 17 00:00:00 2001 From: Marcel van der Boom Date: Wed, 10 Aug 2022 09:19:02 +0200 Subject: gnu: x265: Fix build on ppc64le. * gnu/packages/video.scm (x265)[arguments]: Disable ALTIVEC for ppc64le. Signed-off-by: Mathieu Othacehe --- gnu/packages/video.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d5dc59ddff..ff12e1bb9e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1252,6 +1252,10 @@ on the Invidious instances only as a fallback method.") ,@(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 @@ on the Invidious instances only as a fallback method.") ,@(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" -- cgit v1.2.3