summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-15 22:11:24 +0100
committerSam James <sam@gentoo.org>2024-08-15 22:18:23 +0100
commitfc1c525c544f7c4e4bc4a51ab71f7755e592eeef (patch)
tree2be978d858e841902abea27747ae8e76ae78f5a3 /dev-util/github-cli/github-cli-2.31.0.ebuild
parentgo-env.eclass: workaround debug info issues (diff)
downloadgentoo-fc1c525c544f7c4e4bc4a51ab71f7755e592eeef.tar.gz
gentoo-fc1c525c544f7c4e4bc4a51ab71f7755e592eeef.tar.bz2
gentoo-fc1c525c544f7c4e4bc4a51ab71f7755e592eeef.zip
dev-util/github-cli: drop now-obsolete flag mangling
The real issue is intrinsic to Go (or cgo, anyway) and so we shouldn't do it per-package, but rather in go-env.eclass. That's done now, so drop the package-local workaround. Bug: https://bugs.gentoo.org/924496 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/github-cli/github-cli-2.31.0.ebuild')
-rw-r--r--dev-util/github-cli/github-cli-2.31.0.ebuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/dev-util/github-cli/github-cli-2.31.0.ebuild b/dev-util/github-cli/github-cli-2.31.0.ebuild
index 49f74d520f92..4484ca69c4ef 100644
--- a/dev-util/github-cli/github-cli-2.31.0.ebuild
+++ b/dev-util/github-cli/github-cli-2.31.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit bash-completion-r1 flag-o-matic go-module
+inherit bash-completion-r1 go-module
DESCRIPTION="GitHub CLI"
HOMEPAGE="https://github.com/cli/cli"
@@ -25,13 +25,6 @@ RDEPEND=">=dev-vcs/git-1.7.3"
RESTRICT="test"
src_unpack() {
- # Filter LTO flags to avoid build failures.
- filter-lto
- # 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
-
if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
go-module_live_vendor