mirror of
https://github.com/golang/go
synced 2024-11-22 03:54:39 -07:00
cmd/go: fix freebsd build
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5530063
This commit is contained in:
parent
8d8829c671
commit
8cad9251b3
@ -449,6 +449,9 @@ 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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user