aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux_test.go
diff options
context:
space:
mode:
authorSrdjan Petrovic <spetrovic@google.com>2015-06-09 14:36:05 -0700
committerIan Lance Taylor <iant@golang.org>2015-06-15 18:29:39 +0000
commit85b333dbf8a367bfd4f6d946c92096d21c61111f (patch)
treeb61466920f99e9073702eb40883e621f1ddd2e33 /src/syscall/exec_linux_test.go
parent1f9026c0bd489e96a04541d2f65ecfdc3bc53720 (diff)
downloadgo-85b333dbf8a367bfd4f6d946c92096d21c61111f.tar.xz
cmd/go: force-overwrite destination files when installing cgo headers
Fixes #11131 When running 'go install -buildmode=c-shared', under the circumstances described in issue #11131, the install command would fail trying to install cgo headers if they have already been installed (by a previous call to 'go install -buildmode=c-shared'). Since it's safe to overwrite said headers (according to iant@), this CL introduces a parameter to builder's 'copy' and 'move' functions that, if set to 'true', would force the overwriting of already installed files. This parameter value is set to 'true' only when installing cgo headers, for now. Change-Id: I5bda17ee757066a8e5d2b39f2e8f3a389eb1e4a2 Reviewed-on: https://go-review.googlesource.com/10870 Run-TryBot: Srdjan Petrovic <spetrovic@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions