nckx pushed a commit to branch master in repository guix. commit 6978cb2865ee26c2eb46bfe5a907d35b701a56c6 Author: Tobias Geerinckx-Rice <m...@tobias.gr> AuthorDate: Tue Jun 2 21:16:24 2020 +0200
gnu: lemonbar: Fix cross-compilation. * gnu/packages/wm.scm (lemonbar)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/wm.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 2e97535..06d28e3 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1838,9 +1838,10 @@ between windows.") "1wwqbph392iwz8skaqxb0xpklb1l6yganqz80g4x1fhrnz7idmlh")))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; no test suite - #:make-flags (list "CC=gcc" - (string-append "PREFIX=" %output)) + `(#:tests? #f ; no test suite + #:make-flags + (list ,(string-append "CC=" (cc-for-target)) + (string-append "PREFIX=" %output)) #:phases (modify-phases %standard-phases (delete 'configure))))