gnu: cwm: Prepare for cross-compilation.

* gnu/packages/wm.scm (cwm)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-29 14:26:20 +01:00
parent 1663479855
commit fa50a8bc7c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1216,7 +1216,7 @@ (define-public cwm
(base32 "022zld29qawd8gl700g4m24qa89il3aks397zkhh66wvzssdblzx"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "CC=gcc"
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" %output))
#:tests? #f
#:phases