1 |
On Thu, 28 Apr 2016 05:59:14 +0000 |
2 |
Leno Hou <lenohou@×××××.com> wrote: |
3 |
|
4 |
> There is a bootstrap tarball for ppc64le now, and we have bi-arch |
5 |
> support for ppc64 platform. It's means that we can build go-1.6.2 |
6 |
> without gccgo. |
7 |
> |
8 |
> Signed-off-by: Leno Hou <lenohou@×××××.com> |
9 |
> CC: William Hubbs <williamh@g.o> |
10 |
> --- |
11 |
> dev-lang/go/go-1.6.2.ebuild | 1 + |
12 |
> 1 file changed, 1 insertion(+) |
13 |
> |
14 |
> diff --git a/dev-lang/go/go-1.6.2.ebuild b/dev-lang/go/go-1.6.2.ebuild |
15 |
> index 57ca2c7..049973a 100644 |
16 |
> --- a/dev-lang/go/go-1.6.2.ebuild |
17 |
> +++ b/dev-lang/go/go-1.6.2.ebuild |
18 |
> @@ -88,6 +88,7 @@ go_arch() |
19 |
> case "${portage_arch}" in |
20 |
> x86) echo 386;; |
21 |
> x64-*) echo amd64;; |
22 |
> + ppc64) [[ "$(tc-endian $@)" == "big" ]] || echo ppc64le;; |
23 |
|
24 |
Shouldn't this also have '&& echo ppc64'? Otherwise, on BE ppc64 there |
25 |
will be no output. |
26 |
|
27 |
-- |
28 |
Best regards, |
29 |
Michał Górny |