From: Andrew Gerrand Date: Fri, 18 Oct 2013 06:03:41 +0000 (+0900) Subject: misc/dist: build race packages when os suffix present X-Git-Tag: go1.3beta1~1406 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f5d25fd695471065a474b7940ef11e006d683aac;p=gostls13.git 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 --- diff --git a/misc/dist/bindist.go b/misc/dist/bindist.go index 38287a3385..a98f040e62 100644 --- a/misc/dist/bindist.go +++ b/misc/dist/bindist.go @@ -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 } }