summary refs log tree commit diff
path: root/gnu/packages/wm.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-06-02 21:16:24 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-06-03 02:21:23 +0200
commit6978cb2865ee26c2eb46bfe5a907d35b701a56c6 (patch)
treed244e80e812bbe176e879c26571c6d8c19f34146 /gnu/packages/wm.scm
parent3b394f6a3ec070b34f91715b8a228e6edebe45aa (diff)
downloadguix-6978cb2865ee26c2eb46bfe5a907d35b701a56c6.tar.gz
gnu: lemonbar: Fix cross-compilation.
* gnu/packages/wm.scm (lemonbar)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages/wm.scm')
-rw-r--r--gnu/packages/wm.scm7
1 files 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))))