Skip to content

Commit a6e892d

Browse files
paulzholtklauser
authored andcommitted
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Tobias Klauser <[email protected]>
1 parent f125b32 commit a6e892d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/cmd/dist/util.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,6 @@ func xgetgoarm() string {
397397
// Conservative default for cross-compilation.
398398
return "5"
399399
}
400-
if goos == "freebsd" {
401-
// FreeBSD has broken VFP support.
402-
return "5"
403-
}
404400

405401
// Try to exec ourselves in a mode to detect VFP support.
406402
// Seeing how far it gets determines which instructions failed.

0 commit comments

Comments
 (0)