dev-lang/go: fix go-1.5 build on arm

This is for bug #558742. Thanks to Stefan Junker for the report.

Gentoo-Commit: c1f324086082c9409d54126842985e0eaf5f137a
This commit is contained in:
William Hubbs 2015-09-04 10:44:07 -05:00 committed by Michael Marineau
parent 92088f7f9c
commit 8c70c28fe9

View File

@ -62,9 +62,9 @@ go_arch()
go_arm()
{
case "${1:-${CHOST}}" in
armv5) echo 5;;
armv6) echo 6;;
armv7) echo 7;;
armv5*) echo 5;;
armv6*) echo 6;;
armv7*) echo 7;;
*)
die "unknown GOARM for ${1:-${CHOST}}"
;;