Subject: [bug#67403] [PATCH 5/8] gnu: ifdtool: Use cc-for-target.

From: Denis 'GNUtoo' Carikli <[email-masked]>
Date: Thu, 23 Nov 2023 16:27:41 +0100

* gnu/packages/flashing-tools.scm (ifdtool): Use cc-for-target.

Signed-off-by: Denis 'GNUtoo' Carikli <[email-masked]>
Change-Id: I50513337dc69f8daad17966af1193da44e7b054e
---
 gnu/packages/flashing-tools.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 5be725d4a1..8959ed66ab 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -448,7 +448,7 @@ (define-public ifdtool
     (arguments
      (list
       #:make-flags
-      #~(list "CC=gcc"
+      #~(list (string-append "CC=" #$(cc-for-target))
               "INSTALL=install"
               (string-append "PREFIX=" #$output))
       #:phases
-- 
2.41.0