mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: add external linking support for GOARCH=mips{,le}
Fixes #17792. Change-Id: If4f24455eec0edb3b221aef6777a681f6c768866 Reviewed-on: https://go-review.googlesource.com/34313 Reviewed-by: Cherry Zhang <cherryyz@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
96414ca39f
commit
a3b670e333
4 changed files with 96 additions and 17 deletions
|
|
@ -1257,6 +1257,8 @@ func hostlinkArchArgs() []string {
|
|||
// nothing needed
|
||||
case sys.MIPS64:
|
||||
return []string{"-mabi=64"}
|
||||
case sys.MIPS:
|
||||
return []string{"-mabi=32"}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue