aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2023-12-23 23:31:36 +0800
committerMathieu Othacehe <othacehe@gnu.org>2023-12-23 17:02:04 +0100
commita8196632647b343f8e03c8f12fbdc0cc84ff90f6 (patch)
tree1d017823bd84285dcb3f1d405542dec80d2364b9
parentdc5f25cea6a6e137f353d0e8d32564ba8698a683 (diff)
downloadguix-a8196632647b343f8e03c8f12fbdc0cc84ff90f6.tar
guix-a8196632647b343f8e03c8f12fbdc0cc84ff90f6.tar.gz
gnu: fzy: Fix cross-compilation.
* gnu/packages/shellutils.scm (fzy)[arguments]: Use cc-for-target. Change-Id: Ic9e929ce3e85ec07f44ae7f8597a02a64edd5bf5 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
-rw-r--r--gnu/packages/shellutils.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index a5c4f27aa6..9993c0b807 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -554,7 +554,7 @@ environment variables of the current shell.")
(build-system gnu-build-system)
(arguments
(list #:make-flags
- #~(list "CC=gcc"
+ #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases