Merge pull request #108371 from thockin/makefile-dbg-flag

Makefile: add a DBG variable
This commit is contained in:
Kubernetes Prow Robot
2022-03-03 12:47:28 -08:00
committed by GitHub
2 changed files with 38 additions and 22 deletions

View File

@@ -73,6 +73,8 @@ define ALL_HELP_INFO
# GOFLAGS: Extra flags to pass to 'go' when building.
# GOLDFLAGS: Extra linking flags passed to 'go' when building.
# GOGCFLAGS: Additional go compile flags passed to 'go' when building.
# DBG: If set to "1", build with optimizations disabled for easier
# debugging. Any other value is ignored.
#
# Example:
# make