mirror of https://github.com/golang/go.git
doc: add cmd/go's -pkgdir build option
Also use more consistent language for the new build options. Change-Id: I88cbe200c13f452713be73d2e00337ddb793b8c6 Reviewed-on: https://go-review.googlesource.com/12172 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
b2cb3b416c
commit
91a480c325
|
|
@ -465,15 +465,16 @@ A new <code>cmd</code> wildcard covers the commands.
|
|||
</li>
|
||||
|
||||
<li>
|
||||
A new <code>-toolexec</code> flag for building
|
||||
allows substitution of a different command to invoke
|
||||
the compiler and so on.
|
||||
This acts as a custom replacement for <code>go tool</code>.
|
||||
A new <code>-asmflags</code> build option
|
||||
sets flags to pass to the assembler.
|
||||
However,
|
||||
the <code>-ccflags</code> build option has been dropped;
|
||||
it was specific to the old, now deleted C compiler .
|
||||
</li>
|
||||
|
||||
<li>
|
||||
The build subcommand has a <code>-buildmode</code> option tied to the linker,
|
||||
as described above.
|
||||
A new <code>-buildmode</code> build option
|
||||
sets the build mode, described above.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
|
@ -484,6 +485,19 @@ the <code>-ccflags</code> build option has been dropped;
|
|||
it was specific to the old, now deleted C compiler .
|
||||
</li>
|
||||
|
||||
<li>
|
||||
A new <code>-pkgdir</code> build option
|
||||
sets the location of installed package archives,
|
||||
to help isolate custom builds.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
A new <code>-toolexec</code> build option
|
||||
allows substitution of a different command to invoke
|
||||
the compiler and so on.
|
||||
This acts as a custom replacement for <code>go tool</code>.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
The <code>test</code> subcommand now has a <code>-count</code>
|
||||
flag to specify how many times to run each test and benchmark.
|
||||
|
|
|
|||
Loading…
Reference in New Issue