summaryrefslogtreecommitdiff
path: root/dev-util/github-cli/github-cli-9999.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-06-01 12:52:02 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-06-01 12:52:02 +0000
commitdf899fa791750d19ac5a7dc30a1778095d3f8d60 (patch)
tree4aff626b567f25f42c616d1c81fdc1d243d95cab /dev-util/github-cli/github-cli-9999.ebuild
parent215476f669d20b307ff052c3ff0d420102108e58 (diff)
downloadbaldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.tar.gz
baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.tar.xz
baldeagleos-repo-df899fa791750d19ac5a7dc30a1778095d3f8d60.zip
Adding metadata
Diffstat (limited to 'dev-util/github-cli/github-cli-9999.ebuild')
-rw-r--r--dev-util/github-cli/github-cli-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
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