diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-02 21:16:24 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-06-03 02:21:23 +0200 |
commit | 6978cb2865ee26c2eb46bfe5a907d35b701a56c6 (patch) | |
tree | d244e80e812bbe176e879c26571c6d8c19f34146 /gnu/packages | |
parent | 3b394f6a3ec070b34f91715b8a228e6edebe45aa (diff) | |
download | guix-patches-6978cb2865ee26c2eb46bfe5a907d35b701a56c6.tar guix-patches-6978cb2865ee26c2eb46bfe5a907d35b701a56c6.tar.gz |
gnu: lemonbar: Fix cross-compilation.
* gnu/packages/wm.scm (lemonbar)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/wm.scm | 7 |
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)))) |