gnu: x42-plugins: Prepare for cross-compiling.
* gnu/packages/music.scm (x42-plugins)[arguments]: Remove 'set-CC-variable phase. Use cc-for-target in make-flags.master
parent
6f45418416
commit
3e6f857354
|
@ -6093,13 +6093,10 @@ short-time Fourier transform, available as LV2 audio plugin and JACK client.")
|
||||||
"LIBZITACONVOLVER=-lzita-convolver"
|
"LIBZITACONVOLVER=-lzita-convolver"
|
||||||
(string-append "FONTFILE="
|
(string-append "FONTFILE="
|
||||||
(assoc-ref %build-inputs "font-dejavu")
|
(assoc-ref %build-inputs "font-dejavu")
|
||||||
"/share/fonts/truetype/DejaVuSans-Bold.ttf"))
|
"/share/fonts/truetype/DejaVuSans-Bold.ttf")
|
||||||
|
(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)
|
||||||
|
|
Reference in New Issue