commit:     c1f324086082c9409d54126842985e0eaf5f137a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  4 15:44:07 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep  4 15:46:14 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f32408

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

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

 dev-lang/go/go-1.5.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-lang/go/go-1.5.ebuild b/dev-lang/go/go-1.5.ebuild
index 691efef..6fc180c 100644
--- a/dev-lang/go/go-1.5.ebuild
+++ b/dev-lang/go/go-1.5.ebuild
@@ -59,9 +59,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}}"
                        ;;

Reply via email to