summaryrefslogtreecommitdiff
path: root/contributors
diff options
context:
space:
mode:
authorSreekaran Srinath <sreekaran.srinath@gmail.com>2022-10-06 15:01:27 -0700
committerSreekaran <ss@sreekaran.com>2022-10-12 12:35:50 -0700
commitde402df2d20a2fca233b40bf87d982460c4d4374 (patch)
treeabd1029677cdf7af34b5aec39de145621856d575 /contributors
parentb3fc4bf4a73df626aeea820a171c7d304688326b (diff)
docs: use `DBG` instead of `GOGCFLAGS` to build in debug mode
Diffstat (limited to 'contributors')
-rw-r--r--contributors/devel/development.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/contributors/devel/development.md b/contributors/devel/development.md
index 527b5d77..00ebe0a3 100644
--- a/contributors/devel/development.md
+++ b/contributors/devel/development.md
@@ -357,10 +357,10 @@ The Kubernetes build system defaults to limiting the number of reported Go compi
make WHAT="cmd/kubectl" GOGCFLAGS="-e"
```
-If you need to use debugging inspection tools on your compiled Kubernetes executables, add `-N -l` to `GOGCFLAGS`. For example:
+If you need to use debugging inspection tools on your compiled Kubernetes executables, set DBG=1. For example:
```sh
-make WHAT="cmd/kubectl" GOGCFLAGS="-N -l"
+make WHAT="cmd/kubectl" DBG=1
```
To cross-compile Kubernetes for all platforms, run the following command: