Skip to content

Commit bc175e5

Browse files
committed
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 <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent a27f3d5 commit bc175e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cmd/dist/util.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,8 @@ func xgetgoarm() string {
397397
// Conservative default for cross-compilation.
398398
return "5"
399399
}
400-
if goos == "freebsd" || goos == "openbsd" {
400+
if goos == "freebsd" {
401401
// FreeBSD has broken VFP support.
402-
// OpenBSD currently only supports softfloat.
403402
return "5"
404403
}
405404

0 commit comments

Comments
 (0)