There is a bootstrap tarball for ppc64le now, and  we have bi-arch
support for ppc64 platform. It's means that we can build go-1.6.2
without gccgo.

Signed-off-by: Leno Hou <leno...@gmail.com>
CC: William Hubbs <willi...@gentoo.org>
---
 dev-lang/go/go-1.6.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/go/go-1.6.2.ebuild b/dev-lang/go/go-1.6.2.ebuild
index 57ca2c7..4babafe 100644
--- a/dev-lang/go/go-1.6.2.ebuild
+++ b/dev-lang/go/go-1.6.2.ebuild
@@ -88,6 +88,7 @@ go_arch()
        case "${portage_arch}" in
                x86)    echo 386;;
                x64-*)  echo amd64;;
+               ppc64)  [[ "$(tc-endian $@)" == "little" ]] && echo ppc64le;;
                *)              echo "${portage_arch}";;
        esac
 }
-- 
2.7.3


Reply via email to