From 33f5b747b4a0a508e1ffc94a5bf425cff707c6e3 Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Fri, 28 Jul 2023 21:33:53 +0800 Subject: [PATCH] gnu: fcode-utils: Fix cross-compilation. * gnu/packages/firmware.scm (fcode-utils) [arguments]: use STRIP-FOR-TARGET. Signed-off-by: Mathieu Othacehe --- gnu/packages/firmware.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index a674421157..0e638acfae 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; Copyright © 2023 Foundation Devices, Inc. +;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -397,6 +398,7 @@ (define-public fcode-utils #:test-target "tests" #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "STRIP=" #$(strip-for-target)) (string-append "DESTDIR=" #$output)) #:phases #~(modify-phases %standard-phases