~ruther/guix-local

a160778cba9f0e696547de6207268fb5ae8df728 — Efraim Flashner 9 years ago f826c8c
gnu: x265: Fix build on aarch64.

* gnu/packages/video.scm (x265)[arguments]: On aarch64 add a
configure-flag to enable PIC.
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/video.scm
M gnu/packages/video.scm => gnu/packages/video.scm +4 -0
@@ 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