summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-03-24 21:52:54 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-03-24 23:18:35 -0400
commite8354517d6f3dfc4ffc0bf56f06cda700cdc812e (patch)
treee9f80d10cb6f07d4b0fb7a09cdb6dbb16f58c850 /x11-terms/kitty/kitty-9999.ebuild
parentsys-devel/gcc: drop 13.0.1_pre20230226, 13.0.1_pre20230305 (diff)
downloadgentoo-e8354517d6f3dfc4ffc0bf56f06cda700cdc812e.tar.gz
gentoo-e8354517d6f3dfc4ffc0bf56f06cda700cdc812e.tar.bz2
gentoo-e8354517d6f3dfc4ffc0bf56f06cda700cdc812e.zip
x11-terms/kitty: adjust GOFLAGS for ppc64be
Matches go-modules.eclass Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms/kitty/kitty-9999.ebuild')
-rw-r--r--x11-terms/kitty/kitty-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index 707ea2a4a999..f07a85ea74e6 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -117,7 +117,8 @@ src_prepare() {
src_compile() {
tc-export CC
- local -x GOFLAGS="-buildmode=pie -p=$(makeopts_jobs) -v -x"
+ local -x GOFLAGS="-p=$(makeopts_jobs) -v -x"
+ use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie"
local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
local conf=(