Commit f5d25fd6 authored by Andrew Gerrand's avatar Andrew Gerrand

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
parent 7e4af6d9
...@@ -175,7 +175,7 @@ func main() { ...@@ -175,7 +175,7 @@ func main() {
} }
if *includeRace { if *includeRace {
for _, t := range raceAvailable { for _, t := range raceAvailable {
if t == targ { if t == targ || strings.HasPrefix(targ, t+"-") {
b.Race = true 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