From a8196632647b343f8e03c8f12fbdc0cc84ff90f6 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sat, 23 Dec 2023 23:31:36 +0800 Subject: gnu: fzy: Fix cross-compilation. * gnu/packages/shellutils.scm (fzy)[arguments]: Use cc-for-target. Change-Id: Ic9e929ce3e85ec07f44ae7f8597a02a64edd5bf5 Signed-off-by: Mathieu Othacehe --- gnu/packages/shellutils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') 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 -- cgit v1.2.3