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>
This commit is contained in:
Zheng Junjie 2024-02-27 23:50:36 +08:00 committed by 宋文武
parent 332d7c3428
commit a9495366f3
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -192,7 +192,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")