From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37A2D158041 for ; Wed, 3 Apr 2024 11:17:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4C90E2A5E; Wed, 3 Apr 2024 11:17:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9D30E2A5A for ; Wed, 3 Apr 2024 11:17:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85EEE343208 for ; Wed, 3 Apr 2024 11:17:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9260C103F for ; Wed, 3 Apr 2024 11:17:36 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1712108157.b159dcfeed000824de07699aa4dc895aa4c9de3c.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/graftcp/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/graftcp/graftcp-0.7.1.ebuild X-VCS-Directories: net-misc/graftcp/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: b159dcfeed000824de07699aa4dc895aa4c9de3c X-VCS-Branch: master Date: Wed, 3 Apr 2024 11:17:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ca26fbde-02cd-47f3-b130-803f3c175d9d X-Archives-Hash: 57ae862d97d1ea7889bd17e97319bd28 commit: b159dcfeed000824de07699aa4dc895aa4c9de3c Author: Yuhang Zeng unlsycn com> AuthorDate: Wed Apr 3 01:25:08 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Wed Apr 3 01:35:57 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b159dcfe net-misc/graftcp: pass $(CC) when `make install` The makefile call $(CC) to detect the machine architecture in a variable thus it will be evaluated each time we enter the makefile, even when executing `make install` Signed-off-by: Yuhang Zeng unlsycn.com> net-misc/graftcp/graftcp-0.7.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/graftcp/graftcp-0.7.1.ebuild b/net-misc/graftcp/graftcp-0.7.1.ebuild index e9dc3322d0..fe0782d1cf 100644 --- a/net-misc/graftcp/graftcp-0.7.1.ebuild +++ b/net-misc/graftcp/graftcp-0.7.1.ebuild @@ -53,6 +53,6 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" PREFIX="/usr" install + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" AR="$(tc-getAR)" DESTDIR="${D}" PREFIX="/usr" install use systemd && emake DESTDIR="${D}" PREFIX="/usr" install_systemd }