]> Cypherpunks repositories - gostls13.git/commitdiff
src: build cmd in buildall.bash
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 29 Apr 2015 23:10:23 +0000 (16:10 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 30 Apr 2015 00:02:59 +0000 (00:02 +0000)
This exercises the linker as well as the compiler.

Credit to Matthew Dempsky; see #10418.

Change-Id: I793947c0c617a34e23df766bff5238ff3ac3c0af
Reviewed-on: https://go-review.googlesource.com/9530
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/buildall.bash

index 037ad6d0902f3ac10ec0d00ad004ba4e32026a06..7cf8bfb7a406b90c1a507b477676a8e10aa9368a 100755 (executable)
@@ -51,7 +51,7 @@ do
         export GOARCH=386
         export GO386=387
     fi
-    if ! "$GOROOT/bin/go" build -a std; then
+    if ! "$GOROOT/bin/go" build -a std cmd; then
         failed=true
         if $sete; then
             exit 1