Commit 3974357e authored by Russ Cox's avatar Russ Cox

cmd/dist: one more file for CL 9152

This one didn't get written out.

Change-Id: Iee173861fb4dc7cafa64ba5f601f4664b6e8da4e
Reviewed-on: https://go-review.googlesource.com/10681Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent e346adf5
......@@ -30,10 +30,10 @@ func mkzdefaultcc(dir, file string) {
"const defaultCXX = `%s`\n",
defaultcctarget, defaultcxxtarget)
writefile(out, file, 0)
writefile(out, file, writeSkipSame)
// Convert file name to replace: turn go into cgo.
i := len(file) - len("go/zdefaultcc.go")
file = file[:i] + "c" + file[i:]
writefile(out, file, 0)
writefile(out, file, writeSkipSame)
}
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