gnu: libb2: fix cross-compilation.

* gnu/packages/crypto.scm (libb2)[arguments]: Use target-x86?.

Change-Id: I1757c6c294f4e041a210c11658ca1e8d88acc859
This commit is contained in:
Zheng Junjie 2024-05-26 15:12:18 +08:00
parent fedc6e7bad
commit 4d38533e55
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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")
'())