diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2017-03-21 18:01:05 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2017-03-21 18:01:05 +0200 |
commit | a160778cba9f0e696547de6207268fb5ae8df728 (patch) | |
tree | 21ff42a7cc40f6663a3ef78cadd705159a6c4f00 /gnu | |
parent | f826c8c7ee2634acfff1a04f60787d6b02672c36 (diff) | |
download | guix-a160778cba9f0e696547de6207268fb5ae8df728.tar.gz |
gnu: x265: Fix build on aarch64.
* gnu/packages/video.scm (x265)[arguments]: On aarch64 add a configure-flag to enable PIC.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/video.scm | 4 |
1 files changed, 4 insertions, 0 deletions
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 |