diff options
| author | Oryan Moshe <iamoryanmoshe@gmail.com> | 2018-08-03 14:52:39 +0300 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-08-22 23:32:23 +0000 |
| commit | eeb8aebed6d158ad55cea346fdd659f6d6112de5 (patch) | |
| tree | 960bfcb517a63e9b3eca1ddd237c29d0652cce31 /src/bytes/buffer_test.go | |
| parent | a3381faf81e5e9ec0b207d74f29f6c442b2abb73 (diff) | |
| download | go-eeb8aebed6d158ad55cea346fdd659f6d6112de5.tar.xz | |
cmd/cgo: pass explicit -O0 to the compiler
The current implementation removes all of the optimization flags from
the compiler.
Added the -O0 optimization flag after the removal loop, so go can
compile cgo on every OS consistently.
Fixes #26487
Change-Id: Ia98bca90def186dfe10f50b1787c2f40d85533da
Reviewed-on: https://go-review.googlesource.com/127755
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/bytes/buffer_test.go')
0 files changed, 0 insertions, 0 deletions
