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
|
@ -283,6 +283,10 @@ H.264 (MPEG-4 AVC) video streams.")
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; tests are skipped if cpu-optimized code isn't built
|
`(#: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
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'prepare-build
|
(add-before 'configure 'prepare-build
|
||||||
|
|
Loading…
Reference in New Issue