Subject: [PATCH 2/2] gnu: fzy: Fix cross-compilation.

From: Zheng Junjie <[email-masked]>
Date: Sat, 23 Dec 2023 23:31:36 +0800

* gnu/packages/shellutils.scm (fzy)[arguments]: Use cc-for-target.

Change-Id: Ic9e929ce3e85ec07f44ae7f8597a02a64edd5bf5
---
 gnu/packages/shellutils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ (define-public fzy
     (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
-- 
2.41.0