gnu: x265: Fix build on aarch64.

* gnu/packages/video.scm (x265)[arguments]: On aarch64 add a
configure-flag to enable PIC.
master
Efraim Flashner 2017-03-21 18:01:05 +02:00
parent f826c8c7ee
commit a160778cba
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 4 additions and 0 deletions

View File

@ -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