]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: re-enable VFPv3 on openbsd/arm
authorJoel Sing <joel@sing.id.au>
Sat, 15 Dec 2018 14:07:58 +0000 (01:07 +1100)
committerJoel Sing <joel@sing.id.au>
Mon, 17 Dec 2018 03:49:37 +0000 (03:49 +0000)
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>

src/cmd/dist/util.go

index 808a60a28e2c1dba7e533f8ff2e7a212cdec754f..996e058b31822db93ec0de982946216fbd6d0605 100644 (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"
        }