summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-04-23 13:42:56 +0300
committerJoonas Niilola <juippis@gentoo.org>2024-04-23 13:43:54 +0300
commitc0245e236d57d775fdf7f29bfcb7d0b4c78d8d49 (patch)
tree027f4a2d74b220da1a49d405eb1d35cd0048c7e3
parentsys-cluster/galera: drop 26.4.13-r1, 26.4.14, 26.4.15 (diff)
downloadgentoo-c0245e236d57d775fdf7f29bfcb7d0b4c78d8d49.tar.gz
gentoo-c0245e236d57d775fdf7f29bfcb7d0b4c78d8d49.tar.bz2
gentoo-c0245e236d57d775fdf7f29bfcb7d0b4c78d8d49.zip
app-containers/incus: toggle cross-compiler logic in src_install
Closes: https://bugs.gentoo.org/930496 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--app-containers/incus/incus-6.0.0-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
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"