me
/
guix
Archived
1
0
Fork 0

gnu: x265: Disable assembly optimizations on i686-linux.

Fixes <https://bugs.gnu.org/41768>.

* gnu/packages/video.scm (x265)[native-inputs]: Conditionally add NASM.
master
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
1 changed files with 5 additions and 1 deletions

View File

@ -625,7 +625,11 @@ available.")
(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