eda1d40 make.bash: avoid warning when bootstrap doesn't support GOOS/GOARCH

Authored and Committed by Austin Clements 3 years ago
    make.bash: avoid warning when bootstrap doesn't support GOOS/GOARCH
    
    Currently, if make.bash is run with a GOOS or GOARCH that the
    bootstrap toolchain doesn't support, it will print an ominous but
    harmless warning like:
    
      2020/09/21 09:05:27 unsupported GOARCH arm64
    
    This comes from the invocation of "go version" to get the exact
    bootstrap toolchain version.
    
    Since the GOOS and GOARCH don't matter for this purpose, this CL
    simply clears them on the invocation of the bootstrap toolchain's "go
    version".
    
    Fixes #41525.
    
    Change-Id: I17d44eaafed9999b9fa7dcb9fb100b5fd5e554d0
    Reviewed-on: https://go-review.googlesource.com/c/go/+/256297
    Trust: Austin Clements <austin@google.com>
    Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
    Reviewed-by: David Chase <drchase@google.com>
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Go Bot <gobot@golang.org>
    
        
file modified
+4 -1