gnu: bam: Cross-compile.

* gnu/packages/build-tools.scm (bam)[arguments]: Use cc-for-target in
make-flags.
This commit is contained in:
Efraim Flashner 2020-11-16 14:17:27 +02:00
parent 50836eb724
commit 60587450e0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -68,7 +68,7 @@ (define-public bam
"13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags `("CC=gcc"
`(#:make-flags `(,(string-append "CC=" ,(cc-for-target))
,(string-append "INSTALL_PREFIX="
(assoc-ref %outputs "out")))
#:test-target "test"