Passing an optimization flag to a Go compiler? : <p>To compile a Go program you type <code>go build myprogram.go</code>, can you pass an optimization flags along or the code is always compiled in the same way? I am talking about speed optimizations, code size optimizations or other optimizations.</p>

<p>I know if you use <code>gccgo</code> you just pass <code>-O2</code> or <code>-O0</code> but my question is about an official Go compiler <code>go</code>.</p>
