commit | d5e4595784fb744f5fa0e0f90e77de9b5448b793 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Feb 27 17:45:54 2019 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Fri Mar 01 01:22:30 2019 +0000 |
tree | 12c343b5d557895ce2e9758ee88231476cb68eb0 | |
parent | 66ac9466852d11e968f8fd2ad6ffc7386cee49e1 [diff] |
cmd/go: add -O2 to invocation of gccgo When using the go tool with gccgo, this changes the default compilation to use -O2. The -gccgoflags option can be used to override this default. I think this change better corresponds to what people expect when using the go tool. Change-Id: I2b128947f60f361af658e9b4e4eaf4ce61a2dcbd Reviewed-on: https://go-review.googlesource.com/c/164378 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>