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>
// 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.