]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: remove vestigial -s flag
authorMatthew Dempsky <mdempsky@google.com>
Thu, 5 Nov 2015 02:12:30 +0000 (18:12 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 5 Nov 2015 03:33:08 +0000 (03:33 +0000)
Fixes #12002.

Change-Id: I7262f4520560ac158fc2ee3ce1d2f7a488d40354
Reviewed-on: https://go-review.googlesource.com/16666
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Minux Ma <minux@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/cmd/dist/build.go

index bbf7968b552a33deab1614cec3a7f8b3558ec6e1..bcf6e71d529044668b6b4f42fe7c5d636465f158 100644 (file)
@@ -44,8 +44,7 @@ var (
        rebuildall       bool
        defaultclang     bool
 
-       sflag bool // build static binaries
-       vflag int  // verbosity
+       vflag int // verbosity
 )
 
 // The known architectures.
@@ -980,7 +979,6 @@ func cmdenv() {
 // stopping at having installed the go_bootstrap command.
 func cmdbootstrap() {
        flag.BoolVar(&rebuildall, "a", rebuildall, "rebuild all")
-       flag.BoolVar(&sflag, "s", sflag, "build static binaries")
        xflagparse(0)
 
        if isdir(pathf("%s/src/pkg", goroot)) {
@@ -1128,7 +1126,6 @@ func defaulttarg() string {
 
 // Install installs the list of packages named on the command line.
 func cmdinstall() {
-       flag.BoolVar(&sflag, "s", sflag, "build static binaries")
        xflagparse(-1)
 
        if flag.NArg() == 0 {