[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74079] [PATCH 1/2] gnu: x265: Only build with nasm on x86_64-linux.
From: |
Efraim Flashner |
Subject: |
[bug#74079] [PATCH 1/2] gnu: x265: Only build with nasm on x86_64-linux. |
Date: |
Tue, 29 Oct 2024 09:32:38 +0200 |
* gnu/packages/video.scm (x265)[native-inputs]: Only use nasm when
building for x86_64-linux.
Change-Id: Id47f8bef4df0aef6cf574a39e4509024bb3a9479
---
gnu/packages/video.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 92c0acef3ca..bb07a21e981 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1317,9 +1317,9 @@ (define-public x265
(build-system cmake-build-system)
(native-inputs
;; XXX: ASM optimization fails on i686-linux, see
<https://bugs.gnu.org/41768>.
- (if (string-prefix? "i686" (%current-system))
- '()
- `(("nasm" ,nasm))))
+ (if (target-x86-64?)
+ (list nasm)
+ '()))
(arguments
`(#:tests? #f ; tests are skipped if ENABLE_ASSEMBLY is TRUE.
#:configure-flags
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted