gnu: bwa: Fix cross-compiling.

* gnu/packages/bioinformatics.scm (bwa)[arguments]<#:make-flags>: Use
CC-FOR-TARGET.

Change-Id: I63dd0f13f337fbf84967f1ef1b6332ce3391ae97
This commit is contained in:
Zheng Junjie 2024-07-30 15:53:58 +08:00
parent 471c4322df
commit 18a69ddbf3
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -4271,8 +4271,9 @@ (define-public bwa
"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