z572 pushed a commit to branch master
in repository guix.
commit 18a69ddbf3184ba82ec396e2a0fe5aa11d555f4d
Author: Zheng Junjie <[email protected]>
AuthorDate: Tue Jul 30 15:53:58 2024 +0800
gnu: bwa: Fix cross-compiling.
* gnu/packages/bioinformatics.scm (bwa)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.
Change-Id: I63dd0f13f337fbf84967f1ef1b6332ce3391ae97
---
gnu/packages/bioinformatics.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a07b6d376e..2b31a46ef8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4271,8 +4271,9 @@ splice junctions between exons.")
"1vf3iwkzxqkzhcfz2q3qyvcv3jrvbb012qy21pfgjl8lv20ywfr1"))))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ;no "check" target
- #:make-flags '("CFLAGS=-fcommon")
+ `(#:tests? #f ;no "check" target
+ #:make-flags (list "CFLAGS=-fcommon"
+ (string-append "CC=" ,(cc-for-target)))
#:phases
(modify-phases %standard-phases
(replace 'install