mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: x265: Fix build on aarch64.
* gnu/packages/video.scm (x265)[arguments]: On aarch64 add a configure-flag to enable PIC.
This commit is contained in:
parent
f826c8c7ee
commit
a160778cba
1 changed files with 4 additions and 0 deletions
|
@ -283,6 +283,10 @@ (define-public x265
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue