From 13f0f52314244f08eb9fdd626d907c0c3976e06a Mon Sep 17 00:00:00 2001 From: Remco van 't Veer Date: Mon, 1 Jul 2024 21:53:22 +0200 Subject: [PATCH] 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 --- 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..3e46477724 100644 --- a/gnu/packages/librewolf.scm +++ b/gnu/packages/librewolf.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2022 Pierre Langlois ;;; Copyright © 2023 Tomas Volf ;;; Copyright © 2023 Ian Eure +;;; Copyright © 2024 Remco van 't Veer ;;; ;;; 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"