diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-13 23:36:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-13 23:36:16 +0000 |
commit | 5ee866097f7722d669e9a3b4ca2906105852e6ec (patch) | |
tree | 890944c963175a5008b706f03c1fb949a657f9ef /x11-terms/kitty/kitty-0.32.1.ebuild | |
parent | 8234174b0455dd6d6656a24155014c4fba8fad49 (diff) |
gentoo auto-resync : 13:02:2024 - 23:36:16
Diffstat (limited to 'x11-terms/kitty/kitty-0.32.1.ebuild')
-rw-r--r-- | x11-terms/kitty/kitty-0.32.1.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x11-terms/kitty/kitty-0.32.1.ebuild b/x11-terms/kitty/kitty-0.32.1.ebuild index ce3ee5eb6d93..de8a2affadb5 100644 --- a/x11-terms/kitty/kitty-0.32.1.ebuild +++ b/x11-terms/kitty/kitty-0.32.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit edo go-env optfeature multiprocessing +inherit edo flag-o-matic go-env optfeature multiprocessing inherit python-single-r1 toolchain-funcs xdg if [[ ${PV} == 9999 ]]; then @@ -132,6 +132,16 @@ src_compile() { local -x GOFLAGS="-p=$(makeopts_jobs) -v -x" use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie" + # workaround link errors with Go + gcc + -g3 (bug #924436), + # retry now and then to see if can be dropped + tc-is-gcc && + CGO_CFLAGS=$( + CFLAGS=${CGO_CFLAGS} + replace-flags -g3 -g + replace-flags -ggdb3 -ggdb + printf %s "${CFLAGS}" + ) + local conf=( --disable-link-time-optimization --ignore-compiler-warnings |