File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,11 @@ define ALL_HELP_INFO
78
78
# make
79
79
# make all
80
80
# make all WHAT=cmd/kubelet GOFLAGS=-v
81
- # make all GOGCFLAGS="-N -l"
82
- # Note: Use the -N -l options to disable compiler optimizations an inlining.
83
- # Using these build options allows you to subsequently use source
84
- # debugging tools like delve.
81
+ # make all GOLDFLAGS=""
82
+ # Note: Specify GOLDFLAGS as an empty string for building unstripped binaries, which allows
83
+ # you to use code debugging tools like delve. When GOLDFLAGS is unspecified, it defaults
84
+ # to "-s -w" which strips debug information. Other flags that can be used for GOLDFLAGS
85
+ # are documented at https://golang.org/cmd/link/
85
86
endef
86
87
.PHONY : all
87
88
ifeq ($(PRINT_HELP ) ,y)
You can’t perform that action at this time.
0 commit comments