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:
Yuval Pavel Zholkover 2019-04-13 14:35:23 +03:00 committed by Tobias Klauser
parent f125b32d19
commit a6e892d26d
1 changed files with 0 additions and 4 deletions

View File

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