gnu: dcadec: Cross compile.
* gnu/packages/audio.scm (dcadec)[arguments]: Use cc-for-target in make-flags.
This commit is contained in:
parent
bd3200fd8b
commit
4def7dac23
1 changed files with 2 additions and 2 deletions
|
@ -3840,9 +3840,9 @@ use them split WAVE data into multiple files.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; Test files are missing: https://github.com/foo86/dcadec/issues/53
|
;; Test files are missing: https://github.com/foo86/dcadec/issues/53
|
||||||
'(#:tests? #f
|
`(#:tests? #f
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list "CC=gcc"
|
(list (string-append "CC=" ,(cc-for-target))
|
||||||
;; Build shared library.
|
;; Build shared library.
|
||||||
"CONFIG_SHARED=1"
|
"CONFIG_SHARED=1"
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
|
Reference in a new issue