mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: x265: Disable assembly optimizations on i686-linux.
Fixes <https://bugs.gnu.org/41768>. * gnu/packages/video.scm (x265)[native-inputs]: Conditionally add NASM.
This commit is contained in:
parent
2e08394b3c
commit
d32a3b395c
1 changed files with 5 additions and 1 deletions
|
@ -625,7 +625,11 @@ (define-public x265
|
|||
(delete-file-recursively "source/compat/getopt")
|
||||
#t))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs `(("nasm" ,nasm)))
|
||||
(native-inputs
|
||||
;; XXX: ASM optimization fails on i686-linux, see <https://bugs.gnu.org/41768>.
|
||||
(if (string-prefix? "i686" (%current-system))
|
||||
'()
|
||||
`(("nasm" ,nasm))))
|
||||
(arguments
|
||||
`(#:tests? #f ; tests are skipped if cpu-optimized code isn't built
|
||||
#:configure-flags
|
||||
|
|
Loading…
Reference in a new issue