guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Zheng Junjie
Subject: [bug#69428] [PATCH 4/4] gnu: bspwm: fix cross-compilation.
Date: Tue, 27 Feb 2024 23:50:36 +0800

* 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 --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")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]