commit:     a68ed34dfd77c18f8d5d933573f2ef1681b22c6f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 21:41:10 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 22:44:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a68ed34d

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 <AT> gentoo.org>

 x11-terms/kitty/kitty-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-terms/kitty/kitty-9999.ebuild 
b/x11-terms/kitty/kitty-9999.ebuild
index bba4e7fe09c5..90f8d00348ee 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -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

Reply via email to