aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-05-26 15:12:18 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-09-09 18:01:58 +0800
commit4d38533e55239bace7a4a387c84ff7938ec6100a (patch)
tree2c455d1901d503c555007a6f063c1cf0b9d25f3a
parentfedc6e7bad4c115bac1787718e69f0d95e982061 (diff)
downloadguix-4d38533e55239bace7a4a387c84ff7938ec6100a.tar
guix-4d38533e55239bace7a4a387c84ff7938ec6100a.tar.gz
gnu: libb2: fix cross-compilation.
* gnu/packages/crypto.scm (libb2)[arguments]: Use target-x86?. Change-Id: I1757c6c294f4e041a210c11658ca1e8d88acc859
-rw-r--r--gnu/packages/crypto.scm4
1 files changed, 1 insertions, 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 @@ data on your platform, so the seed itself will be as random as possible.
(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")
'())