Commit 7e725051 authored by Russ Cox's avatar Russ Cox

cmd/dist: remove race binaries when rebuilding everything

Fixes #13214.

Change-Id: Id8fbb252b8beadb0b41f839dcd85d6165dea86a3
Reviewed-on: https://go-review.googlesource.com/16845Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 432cb66f
...@@ -909,6 +909,8 @@ func clean() { ...@@ -909,6 +909,8 @@ func clean() {
// Remove installed packages and tools. // Remove installed packages and tools.
xremoveall(pathf("%s/pkg/%s_%s", goroot, gohostos, gohostarch)) xremoveall(pathf("%s/pkg/%s_%s", goroot, gohostos, gohostarch))
xremoveall(pathf("%s/pkg/%s_%s", goroot, goos, goarch)) xremoveall(pathf("%s/pkg/%s_%s", goroot, goos, goarch))
xremoveall(pathf("%s/pkg/%s_%s_race", goroot, gohostos, gohostarch))
xremoveall(pathf("%s/pkg/%s_%s_race", goroot, goos, goarch))
xremoveall(tooldir) xremoveall(tooldir)
// Remove cached version info. // Remove cached version info.
......
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