From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qAP9EI5yGmG3JAEAgWs5BA (envelope-from ) for ; Mon, 16 Aug 2021 16:13:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AAywDI5yGmE4GAAAB5/wlQ (envelope-from ) for ; Mon, 16 Aug 2021 14:13:34 +0000 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 EE209203A for ; Mon, 16 Aug 2021 16:13:33 +0200 (CEST) Received: from localhost ([::1]:45004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFdMk-0005Yf-Dk for larch@yhetil.org; Mon, 16 Aug 2021 10:13:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFdMN-0005Wx-Jo for guix-patches@gnu.org; Mon, 16 Aug 2021 10:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFdMN-0002ou-Cn for guix-patches@gnu.org; Mon, 16 Aug 2021 10:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFdMN-0004uJ-7o for guix-patches@gnu.org; Mon, 16 Aug 2021 10:13:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50077] [PATCH 3/3] gnu: notmuch: Use 'cc-for-target' instead of hardcoding 'gcc'. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 14:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50077@debbugs.gnu.org Received: via spool by 50077-submit@debbugs.gnu.org id=B50077.162912317018827 (code B ref 50077); Mon, 16 Aug 2021 14:13:03 +0000 Received: (at 50077) by debbugs.gnu.org; 16 Aug 2021 14:12:50 +0000 Received: from localhost ([127.0.0.1]:50678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdMA-0004tb-71 for submit@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:50 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:50470 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFdM8-0004tO-1j for 50077@debbugs.gnu.org; Mon, 16 Aug 2021 10:12:48 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1629123160; bh=UmjwRxtkoCZqe9JZn+xCM0EpA9VSSp0IfmbCr46Ufcg=; h=From:To:Subject:In-Reply-To:References:Date; b=cdAOCKYH0SU6QjLViSNXenYTdaa6D/9nTEWZUKh9EKLOkWMFTit3s9rKlJ3QUCLnz RWENT3/xKNN+TNkV+G53CyVUdIgL3p3amBiSLJsNM/IcCPgs9h7jexA6ZltcufYNLY O/npwOwUql6KRLhRhPtdDD338MlTnI6rC9c19Et8= In-Reply-To: References: Message-Id: <6ce89bf8646d07c68dc5b27b0795de45030b4adc.1629122681.git.public@yoctocell.xyz> Date: Mon, 16 Aug 2021 16:12:40 +0200 MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629123214; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=23OZP3lY1bm+LPGWDDhei+1VIy8FijlqWFxWZrqVSRQ=; b=SZPwtoLgFkXzYKMGsu12Zxf/Z5cpN0I9CFmdrfGa9V3VoC/OXX/rvAiZrylzC4HDqk87L8 ceNBpUwyGoQCuVqzd/tKd2nnifgo5HfWmh7c9AeZH+FUKaeZS6L0UFipr+cqGqaQb/mYlu WTkNTlDtTlWLoD/XdlL5ub2XvMWEFqlfJvji6nMhReorTrtrwM9F4EqjWjipngf/tYV7fO 5v/iV0HuZAJbo2MlZUyTZ7S08kpYF8qumJNBnt8AstAJN7qlhXxqajPw4Eu1HkXWh24is2 kTS/LYaJjLW4iP2EQ8jhToT2dyl3QGwbMvj+wqYFrYqn7Lv9r9M9/42ZLxC4hA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629123214; a=rsa-sha256; cv=none; b=XP3YemuBO9cP52Oih/7mm1PhFBS0R7e/Apz6ZEU9v/ff02FlOqUZcjRE2EfZUrB3jAQSXZ tOD/3M7k+TF9ONQ8lUJq4Sv6AFgTCb5TSSeolKfFuO0racLBLe+2aCguJD88fTj+jBEgZI TYDxZa3twUMbYPB4Sh+G/7UriP4x17TBP0SB3HwcSQtwPCAw/bP5lgAjFmc/2zSqA1txy7 TxCFM70OxguD4MKV6iM8OgwiPd/3i7ReJhUf4PDFo+lRw51DinWE/igf1kDgXB2ZrzAvhX SkiHSHIYly1dFkMoG6Cmd5RxG4Xz5Fq8/VJOOVBHRjLtp+uDpASV86SDioJGhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=cdAOCKYH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=cdAOCKYH; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EE209203A X-Spam-Score: -0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8jsyieyN/nD/ * gnu/packages/mail.scm (notmuch)[arguments]<#:phases>: Use 'cc-for-target' instead of 'gcc'. --- gnu/packages/mail.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 66e0d2482d..2c2d740f9b 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1352,7 +1352,7 @@ invoking @command{notifymuch} from the post-new hook.") (("/bin/sh") (which "sh"))))) (replace 'configure (lambda* (#:key outputs #:allow-other-keys) - (setenv "CC" "gcc") + (setenv "CC" ,(cc-for-target)) (setenv "CONFIG_SHELL" (which "sh")) (let* ((out (assoc-ref outputs "out")) @@ -1370,7 +1370,7 @@ invoking @command{notifymuch} from the post-new hook.") (("\\$NOTMUCH_GMIME_X509_CERT_VALIDITY") "0")))) (add-before 'check 'prepare-test-environment (lambda _ - (setenv "TEST_CC" "gcc") + (setenv "TEST_CC" ,(cc-for-target)) ;; Patch various inline shell invocations. (substitute* (find-files "test" "\\.sh$") (("/bin/sh") (which "sh"))))) -- 2.32.0