From de402df2d20a2fca233b40bf87d982460c4d4374 Mon Sep 17 00:00:00 2001 From: Sreekaran Srinath Date: Thu, 6 Oct 2022 15:01:27 -0700 Subject: docs: use `DBG` instead of `GOGCFLAGS` to build in debug mode --- contributors/devel/development.md | 4 ++-- 1 file 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: -- cgit v1.2.3