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

@ -68,7 +68,7 @@
"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"