diff options
| author | Ian Lance Taylor <iant@golang.org> | 2017-09-13 20:41:45 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-09-14 04:02:01 +0000 |
| commit | 2a2e4dad33dfe75c3163ecdae264ec2fecfe5dfb (patch) | |
| tree | 3d3e9d0ae3e8ccab7da4dacbfad5712e9bc15273 /misc/cgo/errors/errors_test.go | |
| parent | 9cc170f9a5b84d8cc3f477c68f6f2a2dc9196755 (diff) | |
| download | go-2a2e4dad33dfe75c3163ecdae264ec2fecfe5dfb.tar.xz | |
misc/cgo/errors: don't pass -C to compiler
It's not needed, and the current expectation is that it will go away
in the future.
Change-Id: I5f46800e748d9ffa484bda6d1738290c8e00ac2b
Reviewed-on: https://go-review.googlesource.com/63751
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'misc/cgo/errors/errors_test.go')
| -rw-r--r-- | misc/cgo/errors/errors_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/errors/errors_test.go b/misc/cgo/errors/errors_test.go index d2e833c52c..ebe28bae90 100644 --- a/misc/cgo/errors/errors_test.go +++ b/misc/cgo/errors/errors_test.go @@ -63,7 +63,7 @@ func expect(t *testing.T, file string, errors []*regexp.Regexp) { defer os.RemoveAll(dir) dst := filepath.Join(dir, strings.TrimSuffix(file, ".go")) - cmd := exec.Command("go", "build", "-o="+dst, "-gcflags=-C", path(file)) + cmd := exec.Command("go", "build", "-o="+dst, path(file)) out, err := cmd.CombinedOutput() if err == nil { t.Errorf("expected cgo to fail but it succeeded") |
