From e8354517d6f3dfc4ffc0bf56f06cda700cdc812e Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 24 Mar 2023 21:52:54 -0400 Subject: [PATCH] x11-terms/kitty: adjust GOFLAGS for ppc64be Matches go-modules.eclass Signed-off-by: Ionen Wolkens --- x11-terms/kitty/kitty-0.27.1.ebuild | 3 ++- x11-terms/kitty/kitty-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/x11-terms/kitty/kitty-0.27.1.ebuild b/x11-terms/kitty/kitty-0.27.1.ebuild index 295c1c9a2500b..c2975dd65e11e 100644 --- a/x11-terms/kitty/kitty-0.27.1.ebuild +++ b/x11-terms/kitty/kitty-0.27.1.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=( diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index 707ea2a4a9994..f07a85ea74e66 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=(