From patchwork Tue Feb 27 15:50:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 X-Patchwork-Id: 61165 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 48B0A27BBE9; Tue, 27 Feb 2024 15:56:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8DCB527BBE2 for ; Tue, 27 Feb 2024 15:56:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rezot-00012Y-It; Tue, 27 Feb 2024 10:56:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rezor-00011y-5m for guix-patches@gnu.org; Tue, 27 Feb 2024 10:56:37 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rezoq-0001al-Tb for guix-patches@gnu.org; Tue, 27 Feb 2024 10:56:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rezpG-000595-RY for guix-patches@gnu.org; Tue, 27 Feb 2024 10:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69428] [PATCH 4/4] gnu: bspwm: fix cross-compilation. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69428 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69428@debbugs.gnu.org Received: via spool by 69428-submit@debbugs.gnu.org id=B69428.170904941019727 (code B ref 69428); Tue, 27 Feb 2024 15:57:02 +0000 Received: (at 69428) by debbugs.gnu.org; 27 Feb 2024 15:56:50 +0000 Received: from localhost ([127.0.0.1]:34150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rezp4-000584-9T for submit@debbugs.gnu.org; Tue, 27 Feb 2024 10:56:50 -0500 Received: from smtp21.cstnet.cn ([159.226.251.21]:46732 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rezot-00056e-ME for 69428@debbugs.gnu.org; Tue, 27 Feb 2024 10:56:47 -0500 Received: from m.taildaf0f.ts.net (unknown [183.247.5.134]) by APP-01 (Coremail) with SMTP id qwCowABXXp7bBN5l+iOKAw--.4835S5; Tue, 27 Feb 2024 23:50:53 +0800 (CST) From: Zheng Junjie Date: Tue, 27 Feb 2024 23:50:36 +0800 Message-ID: <555baeab0f001da28537f486cd061c9f6fbd763d.1709046624.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: qwCowABXXp7bBN5l+iOKAw--.4835S5 X-Coremail-Antispam: 1UD129KBjvdXoW7JFWxGryfZFW5JF18Xr4rAFb_yoW3ArbE9F 9rGrnrK397XFW2kan8Ca1vgr95Ga18uF12kF47GFZ2kw13Wa13XF9rCFy7ZF13Xa18tFyF yFWUGr18Gr109jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb3AYjsxI4VW3JwAYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l82xGYIkIc2x26280x7 IE14v26r1rM28IrcIa0xkI8VCY1x0267AKxVWUXVWUCwA2ocxC64kIII0Yj41l84x0c7CE w4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6x kF7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwVC2z280aVCY 1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4 xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCa FVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxC20s026xCaFV Cjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWl x4CE17CEb7AF67AKxVWUJVWUXwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r 1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_ JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCT nIWIevJa73UjIFyTuYvjxU2t8nUUUUU X-Originating-IP: [183.247.5.134] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")