golang: Update variables unexported in golang-values.mk
The lists of variables are updated for Go 1.13. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
parent
afaf95b4d8
commit
c9781b027a
1 changed files with 28 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (C) 2018 Jeffery To
|
# Copyright (C) 2018, 2020 Jeffery To
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -24,6 +24,7 @@ unexport \
|
||||||
GOBIN \
|
GOBIN \
|
||||||
GOCACHE \
|
GOCACHE \
|
||||||
GODEBUG \
|
GODEBUG \
|
||||||
|
GOENV \
|
||||||
GOFLAGS \
|
GOFLAGS \
|
||||||
GOOS \
|
GOOS \
|
||||||
GOPATH \
|
GOPATH \
|
||||||
|
@ -38,25 +39,34 @@ unexport \
|
||||||
|
|
||||||
# Environment variables for use with cgo:
|
# Environment variables for use with cgo:
|
||||||
unexport \
|
unexport \
|
||||||
|
AR \
|
||||||
|
CC \
|
||||||
CGO_ENABLED \
|
CGO_ENABLED \
|
||||||
CGO_CFLAGS CGO_CFLAGS_ALLOW CGO_CFLAGS_DISALLOW \
|
CGO_CFLAGS CGO_CFLAGS_ALLOW CGO_CFLAGS_DISALLOW \
|
||||||
CGO_CPPFLAGS CGO_CPPFLAGS_ALLOW CGO_CPPFLAGS_DISALLOW \
|
CGO_CPPFLAGS CGO_CPPFLAGS_ALLOW CGO_CPPFLAGS_DISALLOW \
|
||||||
CGO_CXXFLAGS CGO_CXXFLAGS_ALLOW CGO_CXXFLAGS_DISALLOW \
|
CGO_CXXFLAGS CGO_CXXFLAGS_ALLOW CGO_CXXFLAGS_DISALLOW \
|
||||||
CGO_FFLAGS CGO_FFLAGS_ALLOW CGO_FFLAGS_DISALLOW \
|
CGO_FFLAGS CGO_FFLAGS_ALLOW CGO_FFLAGS_DISALLOW \
|
||||||
CGO_LDFLAGS CGO_LDFLAGS_ALLOW CGO_LDFLAGS_DISALLOW
|
CGO_LDFLAGS CGO_LDFLAGS_ALLOW CGO_LDFLAGS_DISALLOW \
|
||||||
|
CXX \
|
||||||
|
FC
|
||||||
|
# Unmodified:
|
||||||
|
# PKG_CONFIG
|
||||||
|
|
||||||
# Architecture-specific environment variables:
|
# Architecture-specific environment variables:
|
||||||
unexport \
|
unexport \
|
||||||
GOARM \
|
GOARM \
|
||||||
GO386 \
|
GO386 \
|
||||||
GOMIPS \
|
GOMIPS \
|
||||||
GOMIPS64
|
GOMIPS64 \
|
||||||
|
GOWASM
|
||||||
|
|
||||||
# Special-purpose environment variables:
|
# Special-purpose environment variables:
|
||||||
unexport \
|
unexport \
|
||||||
|
GCCGOTOOLDIR \
|
||||||
GOROOT_FINAL \
|
GOROOT_FINAL \
|
||||||
GO_EXTLINK_ENABLED \
|
GO_EXTLINK_ENABLED
|
||||||
GIT_ALLOW_PROTOCOL
|
# Unmodified:
|
||||||
|
# GIT_ALLOW_PROTOCOL
|
||||||
|
|
||||||
# From https://golang.org/cmd/go/#hdr-Module_support
|
# From https://golang.org/cmd/go/#hdr-Module_support
|
||||||
unexport \
|
unexport \
|
||||||
|
@ -73,22 +83,33 @@ unexport \
|
||||||
unexport \
|
unexport \
|
||||||
CC_FOR_TARGET \
|
CC_FOR_TARGET \
|
||||||
CXX_FOR_TARGET
|
CXX_FOR_TARGET
|
||||||
|
# Todo:
|
||||||
|
# CC_FOR_${GOOS}_${GOARCH}
|
||||||
|
# CXX_FOR_${GOOS}_${GOARCH}
|
||||||
|
|
||||||
# From https://golang.org/doc/install/source#environment
|
# From https://golang.org/doc/install/source#environment
|
||||||
unexport \
|
unexport \
|
||||||
GOHOSTARCH
|
GOHOSTOS \
|
||||||
|
GOHOSTARCH \
|
||||||
|
GOPPC64
|
||||||
|
|
||||||
# From https://golang.org/src/make.bash
|
# From https://golang.org/src/make.bash
|
||||||
unexport \
|
unexport \
|
||||||
GO_GCFLAGS \
|
GO_GCFLAGS \
|
||||||
GO_LDFLAGS \
|
GO_LDFLAGS \
|
||||||
|
GO_LDSO \
|
||||||
GO_DISTFLAGS \
|
GO_DISTFLAGS \
|
||||||
GOBUILDTIMELOGFILE \
|
GOBUILDTIMELOGFILE \
|
||||||
GOROOT_BOOTSTRAP
|
GOROOT_BOOTSTRAP
|
||||||
|
|
||||||
|
# From https://golang.org/doc/go1.9#parallel-compile
|
||||||
|
unexport \
|
||||||
|
GO19CONCURRENTCOMPILATION
|
||||||
|
|
||||||
# From https://golang.org/src/cmd/dist/build.go
|
# From https://golang.org/src/cmd/dist/build.go
|
||||||
unexport \
|
unexport \
|
||||||
BOOT_GO_GCFLAGS
|
BOOT_GO_GCFLAGS \
|
||||||
|
BOOT_GO_LDFLAGS
|
||||||
|
|
||||||
# From https://golang.org/src/cmd/dist/buildtool.go
|
# From https://golang.org/src/cmd/dist/buildtool.go
|
||||||
unexport \
|
unexport \
|
||||||
|
|
Loading…
Reference in a new issue