summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/go/go-9999.ebuild')
-rw-r--r--dev-lang/go/go-9999.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 88dace64fdc2..9a52b39fd524 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -88,8 +88,7 @@ go_arch()
case "${portage_arch}" in
x86) echo 386;;
x64-*) echo amd64;;
- ppc64)
- [[ "$(tc-endian)" = big ]] && echo ppc64 || echo ppc64le ;;
+ ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;;
*) echo "${portage_arch}";;
esac
}