]> Cypherpunks repositories - gostls13.git/commitdiff
undo CL 5530063 / 1d7295fdf62e
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 10 Jan 2012 07:11:31 +0000 (16:11 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 10 Jan 2012 07:11:31 +0000 (16:11 +0900)
runtime: enable runtime.ncpu on FreeBSD

««« original CL description
cmd/go: fix freebsd build

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5530063
»»»

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5531059

src/cmd/go/build.go

index 5bd446cf58e384b7ca56d355242b90c6ff6e92e4..2abc944ef8691d999071c9b028863facd5868621 100644 (file)
@@ -449,9 +449,6 @@ func (b *builder) do(root *action) {
        // drop the parallelism to 1, both to make the output
        // deterministic and because there is no real work anyway.
        par := buildP
-       if par == 0 {
-               par = 1
-       }
        if buildN {
                par = 1
        }