From a160778cba9f0e696547de6207268fb5ae8df728 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 21 Mar 2017 18:01:05 +0200 Subject: gnu: x265: Fix build on aarch64. * gnu/packages/video.scm (x265)[arguments]: On aarch64 add a configure-flag to enable PIC. --- gnu/packages/video.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 9fa7b8544d..0d2803dd64 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -283,6 +283,10 @@ H.264 (MPEG-4 AVC) video streams.") (build-system cmake-build-system) (arguments `(#:tests? #f ; tests are skipped if cpu-optimized code isn't built + ;; Currently the source code doesn't check for aarch64 + ,@(if (string-prefix? "aarch64" (or (%current-target-system) (%current-system))) + '(#:configure-flags '("-DENABLE_PIC=TRUE")) + '()) #:phases (modify-phases %standard-phases (add-before 'configure 'prepare-build -- cgit v1.2.3