gnu: fcode-utils: Fix cross-compilation.

* gnu/packages/firmware.scm (fcode-utils)
[arguments]: use STRIP-FOR-TARGET.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Zheng Junjie 2023-07-28 21:33:53 +08:00 committed by Mathieu Othacehe
parent dd3b9e84b9
commit 33f5b747b4
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -10,6 +10,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com> ;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -397,6 +398,7 @@ (define-public fcode-utils
#:test-target "tests" #:test-target "tests"
#:make-flags #:make-flags
#~(list (string-append "CC=" #$(cc-for-target)) #~(list (string-append "CC=" #$(cc-for-target))
(string-append "STRIP=" #$(strip-for-target))
(string-append "DESTDIR=" #$output)) (string-append "DESTDIR=" #$output))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases