gnu: dcadec: Cross compile.

* gnu/packages/audio.scm (dcadec)[arguments]: Use cc-for-target in
make-flags.
This commit is contained in:
Efraim Flashner 2020-11-16 12:05:58 +02:00
parent bd3200fd8b
commit 4def7dac23
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3840,9 +3840,9 @@ (define-public dcadec
(build-system gnu-build-system)
(arguments
;; Test files are missing: https://github.com/foo86/dcadec/issues/53
'(#:tests? #f
`(#:tests? #f
#:make-flags
(list "CC=gcc"
(list (string-append "CC=" ,(cc-for-target))
;; Build shared library.
"CONFIG_SHARED=1"
(string-append "PREFIX=" (assoc-ref %outputs "out"))