aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-02-27 23:50:36 +0800
committer宋文武 <iyzsong@member.fsf.org>2024-03-19 18:45:51 +0800
commita9495366f3e5383a86fc27ff9b7b82089ca30d8f (patch)
treea623eda17f59e175dcc7865c149a7f6c7573b2ca
parent332d7c34289fd758204ce319ed997dffc5316805 (diff)
downloadguix-a9495366f3e5383a86fc27ff9b7b82089ca30d8f.tar.gz
guix-a9495366f3e5383a86fc27ff9b7b82089ca30d8f.zip
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>
-rw-r--r--gnu/packages/wm.scm2
1 files changed, 1 insertions, 1 deletions
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")