guix-commits
[Top][All Lists]
Advanced

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

09/30: gnu: bspwm: Fix cross-compilation.


From: guix-commits
Subject: 09/30: gnu: bspwm: Fix cross-compilation.
Date: Tue, 19 Mar 2024 07:12:04 -0400 (EDT)

iyzsong pushed a commit to branch master
in repository guix.

commit a9495366f3e5383a86fc27ff9b7b82089ca30d8f
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue Feb 27 23:50:36 2024 +0800

    gnu: bspwm: Fix cross-compilation.
    
    * gnu/packages/wm.scm (bspwm)[arguments]<#:make-flags>: Use CC-FOR-TARGET.
    
    Change-Id: I47399c52c8ba9adb8ea95c2a05cc8ba4762bbca3
    Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
 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 94d3cb7c10..fc483b98ab 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -192,7 +192,7 @@
                (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")



reply via email to

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