From a9495366f3e5383a86fc27ff9b7b82089ca30d8f Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Tue, 27 Feb 2024 23:50:36 +0800 Subject: gnu: bspwm: Fix cross-compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/wm.scm (bspwm)[arguments]<#:make-flags>: Use CC-FOR-TARGET. Change-Id: I47399c52c8ba9adb8ea95c2a05cc8ba4762bbca3 Signed-off-by: 宋文武 --- 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") -- cgit v1.2.3