summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/go/go-1.6.2.ebuild3
-rw-r--r--dev-lang/go/go-9999.ebuild3
2 files changed, 2 insertions, 4 deletions
diff --git a/dev-lang/go/go-1.6.2.ebuild b/dev-lang/go/go-1.6.2.ebuild
index 88dace64fdc2..9a52b39fd524 100644
--- a/dev-lang/go/go-1.6.2.ebuild
+++ b/dev-lang/go/go-1.6.2.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
}
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
}