Commit a6e892d2 authored by Yuval Pavel Zholkover's avatar Yuval Pavel Zholkover Committed by Tobias Klauser

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: default avatarTobias Klauser <tobias.klauser@gmail.com>
parent f125b32d
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment