summary refs log tree commit diff
path: root/gnu/packages/librewolf.scm
diff options
context:
space:
mode:
authorRemco van 't Veer <remco@remworks.net>2024-07-01 21:53:22 +0200
committerAndreas Enge <andreas@enge.fr>2024-07-08 10:46:32 +0200
commit13f0f52314244f08eb9fdd626d907c0c3976e06a (patch)
treeae405ba98bb70170d3d7427f0eb53a99a0a68f8e /gnu/packages/librewolf.scm
parentff9675862ca067f956cb248b4a351b0e98078251 (diff)
downloadguix-13f0f52314244f08eb9fdd626d907c0c3976e06a.tar.gz
gnu: librewolf: Fix building on aarch64-linux.
* 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
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/librewolf.scm')
-rw-r--r--gnu/packages/librewolf.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index c84bcaf3ce..3e46477724 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 @@
                               "--disable-crashreporter"
                               "--allow-addon-sideload"
                               "--with-unsigned-addon-scopes=app,system"
-                              "--disable-eme"
+
+                              ;; switch only available on x86, whereas EME
+                              ;; is not supported on other targets
+                              ,@(if #$(target-x86?) '("--disable-eme") '())
 
                               ;; Build details
                               "--disable-debug"