mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 03:15:09 -05:00
gnu: dpf-plugins: Prepare for cross-compilation.
* gnu/packages/music.scm (dpf-plugins)[arguments]: Set CC in #:make-flags rather than as an environment variable, and set it to CC-FOR-TARGET.
This commit is contained in:
parent
2e8795cf0c
commit
214fb9fbfd
1 changed files with 2 additions and 3 deletions
|
@ -6283,11 +6283,10 @@ (define-public dpf-plugins
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no "check" target
|
`(#:tests? #f ; no "check" target
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
(string-append "CC=" ,(cc-for-target)))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'build 'set-CC-variable
|
|
||||||
(lambda _ (setenv "CC" "gcc") #t))
|
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("cairo" ,cairo)
|
`(("cairo" ,cairo)
|
||||||
|
|
Loading…
Reference in a new issue