On Thu, Apr 28, 2016 at 4:14 PM, Michał Górny <mgo...@gentoo.org> wrote:

> On Thu, 28 Apr 2016 05:59:14 +0000
> Leno Hou <leno...@gmail.com> wrote:
>
> > 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..049973a 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 $@)" == "big" ]] || echo ppc64le;;
>
> Shouldn't this also have '&& echo ppc64'? Otherwise, on BE ppc64 there
> will be no output.
>

That's true. You're right.  So the next PATCH v3 will be sent.
-Leno Hou

Reply via email to