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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 90B771581FB for ; Sun, 1 Dec 2024 11:51:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9EDFE086A; Sun, 1 Dec 2024 11:51:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 986F2E086A for ; Sun, 1 Dec 2024 11:51:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86239341C4B for ; Sun, 1 Dec 2024 11:51:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A11A1FBE for ; Sun, 1 Dec 2024 11:51:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1733053764.cacc52acc43245c2aa286f482e9d79f87ca632e3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsecp256k1/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild X-VCS-Directories: dev-libs/libsecp256k1/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cacc52acc43245c2aa286f482e9d79f87ca632e3 X-VCS-Branch: master Date: Sun, 1 Dec 2024 11:51:45 +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: 6f23fd71-c259-4ddb-a8ed-28a3cfcc9e7f X-Archives-Hash: a5469b63328013053341c48796230251 commit: cacc52acc43245c2aa286f482e9d79f87ca632e3 Author: Matt Whitlock mattwhitlock name> AuthorDate: Tue Nov 12 17:43:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 1 11:49:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cacc52ac dev-libs/libsecp256k1: set build-machine toolchain environment The dev-libs/libsecp256k1 build uses AX_PROG_CC_FOR_BUILD from dev-build/autoconf-archive to detect the toolchain to use for compiling tools to run on the build machine during the build. Portage does not export the expected *_FOR_BUILD environment variables by default, so we have to call tc-export_build_env to set them. Closes: https://bugs.gentoo.org/729888 Signed-off-by: Matt Whitlock mattwhitlock.name> Closes: https://github.com/gentoo/gentoo/pull/39227 Signed-off-by: Sam James gentoo.org> dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild | 6 +++++- dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild index c28846fde624..146e0e7adeac 100644 --- a/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild +++ b/dev-libs/libsecp256k1/libsecp256k1-0.5.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools toolchain-funcs MyPN=secp256k1 DESCRIPTION="Optimized C library for EC operations on curve secp256k1" @@ -40,6 +40,10 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/729888 + tc-export_build_env BUILD_CC BUILD_CPP + export CC_FOR_BUILD="${BUILD_CC}" CPP_FOR_BUILD="${BUILD_CPP}" + local myeconfargs=( --disable-benchmark $(use_enable experimental) diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild index 0b1785939856..246a6bac38ed 100644 --- a/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild +++ b/dev-libs/libsecp256k1/libsecp256k1-0.6.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools toolchain-funcs MyPN=secp256k1 DESCRIPTION="Optimized C library for EC operations on curve secp256k1" @@ -46,6 +46,10 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/729888 + tc-export_build_env BUILD_CC BUILD_CPP + export CC_FOR_BUILD="${BUILD_CC}" CPP_FOR_BUILD="${BUILD_CPP}" + local myeconfargs=( --disable-benchmark $(use_enable experimental)