x11-terms/kitty: set goflags in live

Formerly ommitted given setup.py already sets some reasonable
defaults, but doesn't hurt to be explicit and add =pie too
(still would rather not use the eclass and some of its
implicits that don't fit well here, for now anyway).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-01-20 16:41:10 -05:00
parent f4dade77c0
commit a68ed34dfd

View File

@@ -105,12 +105,12 @@ src_prepare() {
# test may fail/hang depending on environment and shell initialization scripts
rm kitty_tests/{shell_integration,ssh}.py || die
}
src_compile() {
tc-export CC
export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
local -x GOFLAGS="-buildmode=pie -v -x"
local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
local conf=(
--disable-link-time-optimization