gnu: setbfree: Prepare for cross-compilation.

* gnu/packages/music.scm (setbfree)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2023-07-16 02:00:01 +02:00
parent 4b17711cbc
commit 12f0ffe2b8
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2663,7 +2663,7 @@ (define-public setbfree
#:phases
(modify-phases %standard-phases
(add-before 'build 'set-CC-variable
(lambda _ (setenv "CC" "gcc")))
(lambda _ (setenv "CC" ,(cc-for-target))))
(delete 'configure))))
(inputs
(list jack-1