]> Cypherpunks repositories - gostls13.git/commitdiff
nacl*.bash: pass flags to make.bash
authorCherry Zhang <cherryyz@google.com>
Sat, 10 Feb 2018 20:32:28 +0000 (15:32 -0500)
committerCherry Zhang <cherryyz@google.com>
Wed, 14 Feb 2018 17:09:31 +0000 (17:09 +0000)
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>
src/naclmake.bash
src/nacltest.bash

index 046f50aa87709a8811ac3a1d12ae93f99ca5e9c7..74fd802f41784b5f6af9918b04962179adaa1afa 100755 (executable)
@@ -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 "$@"
index 7bbd6601aec2de7a85b797c796827fa68a42008a..3e929a14a45689cae4580e4844748429a8aa5a06 100755 (executable)
@@ -13,7 +13,7 @@
 set -e
 ulimit -c 0
 
-. ./naclmake.bash
+. ./naclmake.bash "$@"
 
 # Check GOARCH.
 case "$naclGOARCH" in