1 |
commit: 45fde8d328a100e70c1532942053859fdc2b21ef |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 15:28:29 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 15:29:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45fde8d3 |
7 |
|
8 |
dev-lang/go: ppc64le updates for #581278 |
9 |
|
10 |
Add proper support for ppc64 to go_arch and display GOROOT_BOOTSTRAP |
11 |
to allow debugging this for new architectures in the future. |
12 |
|
13 |
Package-Manager: portage-2.2.26 |
14 |
|
15 |
dev-lang/go/go-1.6.2.ebuild | 3 +++ |
16 |
1 file changed, 3 insertions(+) |
17 |
|
18 |
diff --git a/dev-lang/go/go-1.6.2.ebuild b/dev-lang/go/go-1.6.2.ebuild |
19 |
index 57ca2c7..07d84b0 100644 |
20 |
--- a/dev-lang/go/go-1.6.2.ebuild |
21 |
+++ b/dev-lang/go/go-1.6.2.ebuild |
22 |
@@ -88,6 +88,8 @@ go_arch() |
23 |
case "${portage_arch}" in |
24 |
x86) echo 386;; |
25 |
x64-*) echo amd64;; |
26 |
+ ppc64) |
27 |
+ [[ "$(tc-endian)" = big ]] && echo ppc64 || echo ppc64le ;; |
28 |
*) echo "${portage_arch}";; |
29 |
esac |
30 |
} |
31 |
@@ -175,6 +177,7 @@ src_compile() |
32 |
if [[ ${ARCH} == arm ]]; then |
33 |
export GOARM=$(go_arm) |
34 |
fi |
35 |
+ elog "GOROOT_BOOTSTRAP is ${GOROOT_BOOTSTRAP}" |
36 |
|
37 |
cd src |
38 |
./make.bash || die "build failed" |