Merge pull request #1951 from marineam/go-arch

eclass/coreos-go: add ppc64 and x86 arch to go_get_arch
This commit is contained in:
Michael Marineau 2016-05-10 19:22:53 -07:00
commit b96c191cf8

View File

@ -22,6 +22,9 @@ go_get_arch() {
local portage_arch=$(tc-arch ${CHOST})
case "${portage_arch}" in
x86) echo 386;;
x64-*) echo amd64;;
ppc64)
[[ "$(tc-endian)" = big ]] && echo ppc64 || echo ppc64le ;;
*) echo "${portage_arch}";;
esac
}