mirror of https://github.com/golang/go.git
cmd/dist: enable VFPv3 on freebsd/arm
Since CL 165799 was merged, VFP detection should work properly on FreeBSD. Updates #27619 Change-Id: I386e856ceb54f0bf6e6bf83bf2d1e19154ba53f4 Reviewed-on: https://go-review.googlesource.com/c/go/+/171728 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
parent
f125b32d19
commit
a6e892d26d
|
|
@ -397,10 +397,6 @@ func xgetgoarm() string {
|
|||
// Conservative default for cross-compilation.
|
||||
return "5"
|
||||
}
|
||||
if goos == "freebsd" {
|
||||
// FreeBSD has broken VFP support.
|
||||
return "5"
|
||||
}
|
||||
|
||||
// Try to exec ourselves in a mode to detect VFP support.
|
||||
// Seeing how far it gets determines which instructions failed.
|
||||
|
|
|
|||
Loading…
Reference in New Issue