[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: x265: Fix build on aarch64.

From: Efraim Flashner
Subject: 01/01: gnu: x265: Fix build on aarch64.
Date: Tue, 21 Mar 2017 12:04:02 -0400 (EDT)

efraim pushed a commit to branch core-updates
in repository guix.

commit a160778cba9f0e696547de6207268fb5ae8df728
Author: Efraim Flashner <address@hidden>
Date:   Tue Mar 21 18:01:05 2017 +0200

    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 9fa7b85..0d2803d 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)
      `(#: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) 
+           '(#:configure-flags '("-DENABLE_PIC=TRUE"))
+           '())
        (modify-phases %standard-phases
          (add-before 'configure 'prepare-build

reply via email to

[Prev in Thread] Current Thread [Next in Thread]