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 A22F5158091 for ; Wed, 1 Jun 2022 01:51:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A2AAE0916; Wed, 1 Jun 2022 01:51:29 +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 6A9BCE0916 for ; Wed, 1 Jun 2022 01:51:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 7F8AB341BDE for ; Wed, 1 Jun 2022 01:51:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51EA24E3 for ; Wed, 1 Jun 2022 01:51:26 +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: <1654048251.d4f025e9b4df364ffd0677bafc802eec2ea587ad.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/github-cli/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/github-cli/github-cli-9999.ebuild X-VCS-Directories: dev-util/github-cli/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d4f025e9b4df364ffd0677bafc802eec2ea587ad X-VCS-Branch: master Date: Wed, 1 Jun 2022 01:51:26 +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: 532a978a-2f20-485d-89b0-a1be96518097 X-Archives-Hash: 74fddd1ba729f64893c5f185d70b6575 commit: d4f025e9b4df364ffd0677bafc802eec2ea587ad Author: Randall T. Vasquez icloud com> AuthorDate: Sun May 29 16:01:16 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jun 1 01:50:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f025e9 dev-util/github-cli: add new filter flags This commits add `flag-o-matic` and add `-ggdb3` and `-flto*` in two seperate `fliter-flags` stanzas. Closes: https://bugs.gentoo.org/847991 Signed-off-by: Randall T. Vasquez icloud.com> Signed-off-by: Sam James gentoo.org> dev-util/github-cli/github-cli-9999.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/github-cli/github-cli-9999.ebuild b/dev-util/github-cli/github-cli-9999.ebuild index ec899ad1ea48..e08b4ff2cbbe 100644 --- a/dev-util/github-cli/github-cli-9999.ebuild +++ b/dev-util/github-cli/github-cli-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit bash-completion-r1 go-module +inherit bash-completion-r1 flag-o-matic go-module DESCRIPTION="GitHub CLI" HOMEPAGE="https://github.com/cli/cli" @@ -35,6 +35,10 @@ src_unpack() { src_compile() { [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}" + # Filter '-flto*' flags to avoid build failures. + filter-flags "-flto*" + # Filter '-ggdb3' flag to avoid build failures. bugs.gentoo.org/847991 + filter-flags "-ggdb3" # Go LDFLAGS are not the same as GCC/Binutils LDFLAGS unset LDFLAGS # Once we set up cross compiling, this line will need to be adjusted