From: Russ Cox Date: Tue, 14 Jul 2015 04:34:36 +0000 (-0400) Subject: doc: add cmd/go's -pkgdir build option X-Git-Tag: go1.5beta2~49 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=91a480c3252c8d67540f41e1761abd7834027d7a;p=gostls13.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 --- diff --git a/doc/go1.5.html b/doc/go1.5.html index 7c3a2f294a..da1d05abce 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -465,15 +465,16 @@ A new cmd wildcard covers the commands.
  • -A new -toolexec flag for building -allows substitution of a different command to invoke -the compiler and so on. -This acts as a custom replacement for go tool. +A new -asmflags build option +sets flags to pass to the assembler. +However, +the -ccflags build option has been dropped; +it was specific to the old, now deleted C compiler .
  • -The build subcommand has a -buildmode option tied to the linker, -as described above. +A new -buildmode build option +sets the build mode, described above.
  • @@ -484,6 +485,19 @@ the -ccflags build option has been dropped; it was specific to the old, now deleted C compiler .
  • +
  • +A new -pkgdir build option +sets the location of installed package archives, +to help isolate custom builds. +
  • + +
  • +A new -toolexec build option +allows substitution of a different command to invoke +the compiler and so on. +This acts as a custom replacement for go tool. +
  • +
  • The test subcommand now has a -count flag to specify how many times to run each test and benchmark.