cmd/dist: re-enable VFPv3 on openbsd/arm

The OpenBSD armv7 port has working VFPv3 these days - re-enable the VFP
detection code so that GOARM=7 is used by default on openbsd/arm.

Change-Id: I0271d81c048d2d55becd2803c19e5f1542076357
Reviewed-on: https://go-review.googlesource.com/c/154378
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Joel Sing 2018-12-16 01:07:58 +11:00
parent a27f3d5cfb
commit bc175e53cc

View file

@ -397,9 +397,8 @@ func xgetgoarm() string {
// Conservative default for cross-compilation.
return "5"
}
if goos == "freebsd" || goos == "openbsd" {
if goos == "freebsd" {
// FreeBSD has broken VFP support.
// OpenBSD currently only supports softfloat.
return "5"
}