guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71882] [PATCH] gnu: librewolf: Fix building on aarch64-linux.


From: Remco van 't Veer
Subject: [bug#71882] [PATCH] gnu: librewolf: Fix building on aarch64-linux.
Date: Mon, 1 Jul 2024 21:53:22 +0200

* gnu/packages/librewolf.scm (librewolf)[arguments]: On non-x86-linux systems 
the "--disable-eme" switch is not available because EME is not available.

Change-Id: I0f397570249b1bc6a0182d2744a8d3c459c1bafa
---
 gnu/packages/librewolf.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index c84bcaf3ce..892f12565d 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz>
 ;;; Copyright © 2023 Ian Eure <ian@retrospec.tv>
+;;; Copyright © 2024 Remco van 't Veer <remco@remworks.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -261,7 +262,10 @@ (define-public librewolf
                               "--disable-crashreporter"
                               "--allow-addon-sideload"
                               "--with-unsigned-addon-scopes=app,system"
-                              "--disable-eme"
+
+                              ;; switch only available on x86 and EME not
+                              ;; supported on other targets
+                              ,@(if #$(target-x86?) '("--disable-eme") '())
 
                               ;; Build details
                               "--disable-debug"

base-commit: ba6460900f052759fe82e4ceb606d25e19f02884
-- 
2.45.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]