aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-03-21 18:01:05 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-03-21 18:01:05 +0200
commita160778cba9f0e696547de6207268fb5ae8df728 (patch)
tree21ff42a7cc40f6663a3ef78cadd705159a6c4f00 /gnu/packages/video.scm
parentf826c8c7ee2634acfff1a04f60787d6b02672c36 (diff)
downloadpatches-a160778cba9f0e696547de6207268fb5ae8df728.tar
patches-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/packages/video.scm')
-rw-r--r--gnu/packages/video.scm4
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