cmd/gomobile: update init with new compiler name

Change-Id: Id01a628ca4cb70a936a0aa19b9ffc037f92c933d
Reviewed-on: https://go-review.googlesource.com/10319
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
David Crawshaw 2015-05-21 15:54:27 -04:00
parent 73e04c3da0
commit c95aae96ba
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ func runInit(cmd *command) error {
// Move the Go cross compiler toolchain into GOPATH.
gotoolsrc := filepath.Join(tmpGoroot, "pkg/tool", goos+"_"+goarch)
tools := []string{"5l", "5g", "asm", "cgo", "nm", "old5a", "pack", "link"}
tools := []string{"compile", "asm", "cgo", "nm", "old5a", "pack", "link"}
for i, name := range tools {
tools[i] = bin(name)
}