From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qG+FIV9mT2VzPwAAG6o9tA:P1 (envelope-from ) for ; Sat, 11 Nov 2023 12:32:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qG+FIV9mT2VzPwAAG6o9tA (envelope-from ) for ; Sat, 11 Nov 2023 12:32:47 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA0B8546D6 for ; Sat, 11 Nov 2023 12:32:45 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699702367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+wiKrZSUaDmSBSY1H780M0W7h7A4GWDyEe7PbwCci1Y=; b=ASfnnuq0V6H396iv6ZAVPb8lxAFZoLS1nN4aCzkGIgDIQ2r9RhngR+anlMdcp3ail/qswZ NzGJ7fTQ4iWLP9SAc8FX+zE9f1+saO3GNwmvPT0MwYcb0urC5Mb8Q5cpNW9si59i1pp0RK ovL+2IBqpLfS7GmadOk9VWYgUQP+04wW8DtkDm3weF5AQyQtUl9MltqOTldNtlE1ZCZvbc VoXKKXmyYHUU9DobsbJUZpXJHHGY+XNh31gbJaxoB2AlHX/U8Tz0uz9IoAhAdJjsQlQsD/ +HsMArxWOOPsvHbEo9QTvMg2GzhE2IWyCzEGFuSydY1wtp1ILxVdYvyaHE+7OQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699702367; a=rsa-sha256; cv=none; b=GVChyQjuwqGWft1UQTggl9ySbIDajS1PP1I38yqfW9TPDWP5TnvRuVH/UKdwIlv6wH9Rd1 iHNS0+HUp+zjK+tN+gYCyGO4ZAfXIg4fQu+672sTz30JHF4XCcbvHijPcfY5T+udWFfQN/ 304180Dizl3+YRqVUd+uxMnbR0iwwZyoEGOeSF1sT69jhdOeq9vX48TT7uGUv3/9VYs5VQ isCS2iWeyAN83owIMU6h1PKGJn5o69GnA0cdsbHc3AfXdaGXBniahjVzd/vzl3etQC7JoH ZDm6DPYrAs/bzptoXlE8zVT7lwkiMVHYtjRIiG9L7j85vB+0OmJs2Fuc94VD5g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1mDz-0000oE-Eb; Sat, 11 Nov 2023 06:32:28 -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 1r1mDv-0000o4-O5 for guix-patches@gnu.org; Sat, 11 Nov 2023 06:32:24 -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 1r1mDu-000051-Du for guix-patches@gnu.org; Sat, 11 Nov 2023 06:32:22 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1mEY-0006S8-L9 for guix-patches@gnu.org; Sat, 11 Nov 2023 06:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67073] [PATCH] gnu: smu: Fix cross-compilation. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Nov 2023 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67073 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67073@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169970234424732 (code B ref -1); Sat, 11 Nov 2023 11:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2023 11:32:24 +0000 Received: from localhost ([127.0.0.1]:52210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1mDw-0006Qp-CY for submit@debbugs.gnu.org; Sat, 11 Nov 2023 06:32:24 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1mDr-0006QX-Qo for submit@debbugs.gnu.org; Sat, 11 Nov 2023 06:32:22 -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 1r1mD5-0000kV-L1 for guix-patches@gnu.org; Sat, 11 Nov 2023 06:31:31 -0500 Received: from smtp84.cstnet.cn ([159.226.251.84] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1r1mD2-0007gJ-Rk for guix-patches@gnu.org; Sat, 11 Nov 2023 06:31:31 -0500 Received: from localhost.localdomain (unknown [183.247.5.45]) by APP-05 (Coremail) with SMTP id zQCowADnyA0DZk9lQob7AQ--.55595S2; Sat, 11 Nov 2023 19:31:16 +0800 (CST) From: Zheng Junjie Date: Sat, 11 Nov 2023 19:30:53 +0800 Message-ID: <029632f3e0467528f867589c2216e17b32eecd8b.1699702253.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit X-CM-TRANSID: zQCowADnyA0DZk9lQob7AQ--.55595S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYS7k0a2IF6F4UM7kC6x804xWl14x267AK xVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j 6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Cr 0_Gr1UM28EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvE ncxIr21le4C262xC7I0v67AEwI8IwI1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjx v20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1l F7xvr2IYc2Ij64vIr41lw4CEx2IqxVAFz4v204v26I0v724l42xK82IYc2Ij64vIr41l4I 8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AK xVWUJVWUGwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcV AFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8I cIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r 1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07jeXdbUUUUU= X-Originating-IP: [183.247.5.45] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.84; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.11 X-Spam-Score: -5.11 X-Migadu-Queue-Id: EA0B8546D6 X-Migadu-Scanner: mx13.migadu.com X-TUID: MiTvr428fWQo * gnu/packages/markup.scm (smu): Fix cross-compilation. [arguments]: Use Gexp and CC-FOR-TARGET. Change-Id: Ifb6a1962b12b31ed0092cb042670301a3ef4cfa8 --- gnu/packages/markup.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 595b08fa20..4a9a382104 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2022 jgart ;;; Copyright © 2022 Vinicius Monego +;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -428,13 +429,13 @@ (define-public smu (base32 "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc")))) (build-system gnu-build-system) (arguments - `(#:make-flags (list "CC=gcc" - (string-append "PREFIX=" - (assoc-ref %outputs "out"))) - #:tests? #f ; no tests included - #:phases - (modify-phases %standard-phases - (delete 'configure)))) + (list #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:tests? #f ; no tests included + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) (home-page "https://github.com/Gottox/smu") (synopsis "Simple markup") (description base-commit: af6105afc67a15a491a0a4fd18a28c9f801a0b94 -- 2.41.0