]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: enable VFPv3 on freebsd/arm
authorYuval Pavel Zholkover <paulzhol@gmail.com>
Sat, 13 Apr 2019 11:35:23 +0000 (14:35 +0300)
committerTobias Klauser <tobias.klauser@gmail.com>
Sun, 14 Apr 2019 16:06:27 +0000 (16:06 +0000)
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>
src/cmd/dist/util.go

index 996e058b31822db93ec0de982946216fbd6d0605..e6a3887a72db5ca776f6be2d93a1340e9438fb5a 100644 (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.