From: Yuval Pavel Zholkover Date: Sat, 13 Apr 2019 11:35:23 +0000 (+0300) Subject: cmd/dist: enable VFPv3 on freebsd/arm X-Git-Tag: go1.13beta1~708 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a6e892d26d6ee59799f55bc50521605ebf75ea67;p=gostls13.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 TryBot-Result: Gobot Gobot Reviewed-by: Tobias Klauser --- diff --git a/src/cmd/dist/util.go b/src/cmd/dist/util.go index 996e058b31..e6a3887a72 100644 --- a/src/cmd/dist/util.go +++ b/src/cmd/dist/util.go @@ -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.