diff options
| author | Carlos Amedee <carlos@golang.org> | 2020-01-23 16:05:29 -0500 |
|---|---|---|
| committer | Carlos Amedee <carlos@golang.org> | 2020-01-24 19:47:23 +0000 |
| commit | e948d2b73ede67f12bff9e4d050f0e1425163010 (patch) | |
| tree | e58a5f99c5acaa9d708c6b86f4bee4c24034230f /src/runtime/trace/trace_stack_test.go | |
| parent | 67539f6c532414bff9eca1a1d56f5e0192dd6fca (diff) | |
| download | go-e948d2b73ede67f12bff9e4d050f0e1425163010.tar.xz | |
cmd/link: ensure cgo cflags do not leak into dwarf tests
Running the dwarf tests with CGO_CFLAGS set
with certain values would cause the test to fail. all.bash
would fail when CGO_CFLAGS was set to '-mmacosx-version-min=10.10'
because the --macosx-version-min flag is incompatible with some dwarf
tests. The change guards against using an unintended flag in the unit test.
Updates #35459
Change-Id: Idc9b354aba44fdab424cb0081a4b3ea7a6d0f8e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/216177
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/trace/trace_stack_test.go')
0 files changed, 0 insertions, 0 deletions
