gnu: xa: Fix cross-compilation.

* gnu/packages/assembly.scm (xa)[arguments]<#:make-flags>:
Use cc-for-target.

Change-Id: I5454e9c5091bdae95d88b9cdf0b402a89e2ff1f9
This commit is contained in:
Zheng Junjie 2024-08-28 11:01:49 +08:00
parent 6f593f1a0e
commit 4c49cd171e
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0

View File

@ -475,7 +475,9 @@ Supported architectures are:
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure)) ; no "configure" script (delete 'configure)) ; no "configure" script
#:make-flags #:make-flags
#~(list (string-append "DESTDIR=" #$output)))) ; no $prefix support #~(list (string-append "CC=" #$(cc-for-target))
(string-append "LD=" #$(cc-for-target))
(string-append "DESTDIR=" #$output)))) ; no $prefix support
(native-inputs (list perl)) (native-inputs (list perl))
(home-page "https://www.floodgap.com/retrotech/xa/") (home-page "https://www.floodgap.com/retrotech/xa/")
(synopsis "Two-pass portable cross-assembler") (synopsis "Two-pass portable cross-assembler")