mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
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 <ran.dall@icloud.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user