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:
Marius Bakke 2020-06-09 20:27:09 +02:00
parent 2e08394b3c
commit d32a3b395c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

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