fix make release/quick-release doesn't respect go build flags
This commit is contained in:
@@ -558,6 +558,9 @@ function kube::build::run_build_command_ex() {
|
|||||||
--env "KUBE_FASTBUILD=${KUBE_FASTBUILD:-false}"
|
--env "KUBE_FASTBUILD=${KUBE_FASTBUILD:-false}"
|
||||||
--env "KUBE_BUILDER_OS=${OSTYPE:-notdetected}"
|
--env "KUBE_BUILDER_OS=${OSTYPE:-notdetected}"
|
||||||
--env "KUBE_VERBOSE=${KUBE_VERBOSE}"
|
--env "KUBE_VERBOSE=${KUBE_VERBOSE}"
|
||||||
|
--env "GOFLAGS=${GOFLAGS:-}"
|
||||||
|
--env "GOLDFLAGS=${GOLDFLAGS:-}"
|
||||||
|
--env "GOGCFLAGS=${GOGCFLAGS:-}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# If we have stdin we can run interactive. This allows things like 'shell.sh'
|
# If we have stdin we can run interactive. This allows things like 'shell.sh'
|
||||||
|
Reference in New Issue
Block a user