• Quentin Smith's avatar
    cmd/go: print more env variables in "go env" · 75fef5a0
    Quentin Smith authored
    "go env" previously only printed a subset of the documented environment
    variables; now it includes everything, such as GO386 and CGO_*.
    
    This also fixes the CGO_CFLAGS environment variable to always have the
    same default. According to iant@ and confirmed by testing, cgo can now
    understand the default value of CGO_CFLAGS.
    
    Fixes #17191.
    
    Change-Id: Icf75055446dd250b6256ef1139e9ce848f4a9d3b
    Reviewed-on: https://go-review.googlesource.com/31330
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Run-TryBot: Quentin Smith <quentin@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    75fef5a0
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...