1 |
commit: d4f025e9b4df364ffd0677bafc802eec2ea587ad |
2 |
Author: Randall T. Vasquez <ran.dall <AT> icloud <DOT> com> |
3 |
AuthorDate: Sun May 29 16:01:16 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 01:50:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f025e9 |
7 |
|
8 |
dev-util/github-cli: add new filter flags |
9 |
|
10 |
This commits add `flag-o-matic` and add `-ggdb3` and `-flto*` in two seperate `fliter-flags` stanzas. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/847991 |
13 |
Signed-off-by: Randall T. Vasquez <ran.dall <AT> icloud.com> |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-util/github-cli/github-cli-9999.ebuild | 6 +++++- |
17 |
1 file changed, 5 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/dev-util/github-cli/github-cli-9999.ebuild b/dev-util/github-cli/github-cli-9999.ebuild |
20 |
index ec899ad1ea48..e08b4ff2cbbe 100644 |
21 |
--- a/dev-util/github-cli/github-cli-9999.ebuild |
22 |
+++ b/dev-util/github-cli/github-cli-9999.ebuild |
23 |
@@ -2,7 +2,7 @@ |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=8 |
27 |
-inherit bash-completion-r1 go-module |
28 |
+inherit bash-completion-r1 flag-o-matic go-module |
29 |
|
30 |
DESCRIPTION="GitHub CLI" |
31 |
HOMEPAGE="https://github.com/cli/cli" |
32 |
@@ -35,6 +35,10 @@ src_unpack() { |
33 |
|
34 |
src_compile() { |
35 |
[[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}" |
36 |
+ # Filter '-flto*' flags to avoid build failures. |
37 |
+ filter-flags "-flto*" |
38 |
+ # Filter '-ggdb3' flag to avoid build failures. bugs.gentoo.org/847991 |
39 |
+ filter-flags "-ggdb3" |
40 |
# Go LDFLAGS are not the same as GCC/Binutils LDFLAGS |
41 |
unset LDFLAGS |
42 |
# Once we set up cross compiling, this line will need to be adjusted |