diff options
| author | Cherry Zhang <cherryyz@google.com> | 2018-02-10 15:32:28 -0500 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2018-02-14 17:09:31 +0000 |
| commit | 1fccbfe90e80f214db0abf3ff0db5a0dfe0efdf3 (patch) | |
| tree | 0b5a6ca4bd7d69b11430f27004a7be07909acc1e /src | |
| parent | 5a43a271e8cc589e077b4e056298d3711e233cd3 (diff) | |
| download | go-1fccbfe90e80f214db0abf3ff0db5a0dfe0efdf3.tar.xz | |
nacl*.bash: pass flags to make.bash
Just like all.bash passes flags to make.bash, I think it makes
sense that naclmake.bash and nacltest.bash do so as well. For
example, on a slow machine I can do "./nacltest.bash -v" to see
the build progress.
Change-Id: Id766dd590e6b83e8b5345822580dc1b05eac8ea3
Reviewed-on: https://go-review.googlesource.com/93117
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src')
| -rwxr-xr-x | src/naclmake.bash | 2 | ||||
| -rwxr-xr-x | src/nacltest.bash | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/naclmake.bash b/src/naclmake.bash index 046f50aa87..74fd802f41 100755 --- a/src/naclmake.bash +++ b/src/naclmake.bash @@ -45,4 +45,4 @@ gobin=$GOROOT_BOOTSTRAP/bin GOROOT=$GOROOT_BOOTSTRAP $gobin/go run ../misc/nacl/mkzip.go -p syscall -r .. ../misc/nacl/testzip.proto syscall/fstest_nacl.go # Run standard build and tests. -GOOS=nacl GOARCH=$naclGOARCH ./make.bash +GOOS=nacl GOARCH=$naclGOARCH ./make.bash "$@" diff --git a/src/nacltest.bash b/src/nacltest.bash index 7bbd6601ae..3e929a14a4 100755 --- a/src/nacltest.bash +++ b/src/nacltest.bash @@ -13,7 +13,7 @@ set -e ulimit -c 0 -. ./naclmake.bash +. ./naclmake.bash "$@" # Check GOARCH. case "$naclGOARCH" in |
