From 6978cb2865ee26c2eb46bfe5a907d35b701a56c6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 2 Jun 2020 21:16:24 +0200 Subject: [PATCH] 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 2e975354c3..06d28e30c1 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))))