From 4d38533e55239bace7a4a387c84ff7938ec6100a Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sun, 26 May 2024 15:12:18 +0800 Subject: [PATCH] gnu: libb2: fix cross-compilation. * gnu/packages/crypto.scm (libb2)[arguments]: Use target-x86?. Change-Id: I1757c6c294f4e041a210c11658ca1e8d88acc859 --- gnu/packages/crypto.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 479135ee8d..2a298c4caf 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -811,9 +811,7 @@ (define-public libb2 (arguments `(#:configure-flags (list - ,@(if (any (cute string-prefix? <> (or (%current-system) - (%current-target-system))) - '("x86_64" "i686")) + ,@(if (target-x86?) ;; fat only checks for Intel optimisations '("--enable-fat") '())