summaryrefslogtreecommitdiff
path: root/src/cmd/dist/buildtool.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/dist/buildtool.go')
-rw-r--r--src/cmd/dist/buildtool.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go
index af3db5f590..7ecfb3a811 100644
--- a/src/cmd/dist/buildtool.go
+++ b/src/cmd/dist/buildtool.go
@@ -100,6 +100,10 @@ var ignorePrefixes = []string{
var ignoreSuffixes = []string{
"_test.s",
"_test.go",
+ // Skip PGO profile. No need to build toolchain1 compiler
+ // with PGO. And as it is not a text file the import path
+ // rewrite will break it.
+ ".pgo",
}
var tryDirs = []string{