diff mbox series

[bug#69428,4/4] gnu: bspwm: fix cross-compilation.

Message ID 555baeab0f001da28537f486cd061c9f6fbd763d.1709046624.git.zhengjunjie@iscas.ac.cn
State New
Headers show
Series fix sxhkd and bspwm cross-compilation. | expand

Commit Message

Z572 Feb. 27, 2024, 3:50 p.m. UTC
* gnu/packages/wm.scm(bspwm)[arguments]<#:make-flags>: Use CC-FOR-TARGET.

Change-Id: I47399c52c8ba9adb8ea95c2a05cc8ba4762bbca3
---
 gnu/packages/wm.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 68b381fa90..e0ce94d8cb 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -189,7 +189,7 @@  (define-public bspwm
                (delete 'configure))           ; no configure script
            #:tests? #f                      ; no check target
            #:make-flags
-           #~(list "CC=gcc"
+           #~(list (string-append "CC=" #$(cc-for-target))
                    (string-append "PREFIX=" #$output))))
     (home-page "https://github.com/baskerville/bspwm")
     (synopsis "Tiling window manager based on binary space partitioning")