Currently, the directories generaed by includeArgs can have the "_race"
suffix added if invoked with -race flag, but ignores -installsuffix if
set.
R=adg, rsc
CC=golang-dev
https://golang.org/cl/
14174043
dir = filepath.Join(dir, "gccgo_"+goos+"_"+goarch)
} else {
dir = filepath.Join(dir, goos+"_"+goarch)
- if buildRace {
- dir += "_race"
+ if buildContext.InstallSuffix != "" {
+ dir += "_" + buildContext.InstallSuffix
}
}
inc = append(inc, flag, dir)