mirror of https://github.com/golang/go.git
cmd/link: stop requiring the math package on ARM
It was needed for the old softfloat implementation, which has long gone. Change-Id: Ib8d53689209a3b003d62f84c7c6047d8ec5df859 Reviewed-on: https://go-review.googlesource.com/c/go/+/220719 Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
2783249068
commit
490bc6097a
|
|
@ -409,9 +409,6 @@ func (ctxt *Link) loadlib() {
|
|||
}
|
||||
|
||||
// load internal packages, if not already
|
||||
if ctxt.Arch.Family == sys.ARM {
|
||||
loadinternal(ctxt, "math")
|
||||
}
|
||||
if *flagRace {
|
||||
loadinternal(ctxt, "runtime/race")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue