Commit ad3e82e7 authored by Mikio Hara's avatar Mikio Hara

undo CL 5530063 / 1d7295fdf62e

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
parent 12bf0005
...@@ -449,9 +449,6 @@ func (b *builder) do(root *action) { ...@@ -449,9 +449,6 @@ func (b *builder) do(root *action) {
// drop the parallelism to 1, both to make the output // drop the parallelism to 1, both to make the output
// deterministic and because there is no real work anyway. // deterministic and because there is no real work anyway.
par := buildP par := buildP
if par == 0 {
par = 1
}
if buildN { if buildN {
par = 1 par = 1
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment