Commit c1792398 authored by Andrew Gerrand's avatar Andrew Gerrand

[release-branch.go1.2] misc/dist: build race packages when os suffix present

««« CL 14930043 / 5746e3a5443b
misc/dist: build race packages when os suffix present

The "darwin-amd64-osx10.8" target was not matching "darwin-amd64".

R=golang-dev
CC=golang-dev
https://golang.org/cl/14930043
»»»

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/20290045
parent 309e1655
......@@ -175,7 +175,7 @@ func main() {
}
if *includeRace {
for _, t := range raceAvailable {
if t == targ {
if t == targ || strings.HasPrefix(targ, t+"-") {
b.Race = true
}
}
......
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