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.
This commit is contained in:
Efraim Flashner 2021-11-07 22:25:23 +02:00
parent 6f45418416
commit 3e6f857354
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6093,13 +6093,10 @@ (define-public x42-plugins
"LIBZITACONVOLVER=-lzita-convolver"
(string-append "FONTFILE="
(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
(modify-phases %standard-phases
(add-before 'build 'set-CC-variable
(lambda _
(setenv "CC" "gcc")
#t))
(delete 'configure))))
(inputs
`(("cairo" ,cairo)