commit: c0245e236d57d775fdf7f29bfcb7d0b4c78d8d49 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Tue Apr 23 10:42:56 2024 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Tue Apr 23 10:43:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0245e23
app-containers/incus: toggle cross-compiler logic in src_install Closes: https://bugs.gentoo.org/930496 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-containers/incus/incus-6.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-containers/incus/incus-6.0.0-r1.ebuild b/app-containers/incus/incus-6.0.0-r1.ebuild index d9f185f12736..79a1af3f07c5 100644 --- a/app-containers/incus/incus-6.0.0-r1.ebuild +++ b/app-containers/incus/incus-6.0.0-r1.ebuild @@ -153,7 +153,7 @@ src_test() { src_install() { export GOPATH="${S}/_dist" - if [[ "${GOARCH}" != "amd64" ]]; then + if tc-is-cross-compiler ; then local bindir="_dist/bin/linux_${GOARCH}" else local bindir="_dist/bin"
