diff options
author | David Chase <drchase@google.com> | 2016-03-18 13:35:34 -0400 |
---|---|---|
committer | David Chase <drchase@google.com> | 2016-03-18 19:00:03 +0000 |
commit | 982322769c1ca0e038d21a7028359c363acb7b8e (patch) | |
tree | bdbf27df333dccc539cb5d8f383e5f0b8266c954 /src/make.bash | |
parent | 40bd28f0c79b6791c7fd86ce42badde300286864 (diff) | |
download | go-982322769c1ca0e038d21a7028359c363acb7b8e.tar.gz go-982322769c1ca0e038d21a7028359c363acb7b8e.zip |
cmd/dist: redo flag-passing for bootstrap
This ought to revert the bad effects of
https://go-review.googlesource.com/#/c/20775/
If you don't pass BOOT_GO_GCFLAGS, you get the
old behavior.
Tweaked to allow multiple space-separated flags in
BOOT_GO_GCFLAGS.
Change-Id: I2a22a04211b4535d1c5a8ec7a8a78cb051161c31
Reviewed-on: https://go-review.googlesource.com/20871
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/make.bash')
-rwxr-xr-x | src/make.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash index 6e9c12901b..82c903eadb 100755 --- a/src/make.bash +++ b/src/make.bash @@ -151,8 +151,8 @@ if [ "$1" = "--no-clean" ]; then buildall="" shift fi +./cmd/dist/dist bootstrap $buildall $GO_DISTFLAGS -v # builds go_bootstrap -GO_GCFLAGS="$BOOT_GO_GCFLAGS" ./cmd/dist/dist bootstrap $buildall $GO_DISTFLAGS -v # builds go_bootstrap # Delay move of dist tool to now, because bootstrap may clear tool directory. mv cmd/dist/dist "$GOTOOLDIR"/dist echo |