diff options
| author | k8s-merge-robot <k8s.production.user@gmail.com> | 2016-07-20 21:48:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-20 21:48:27 -0700 |
| commit | 15f6fa22c55d52dc315b7d1085c4abe7952e9f06 (patch) | |
| tree | db6bdf1cccfcc8388bc9c177f6459147789cc38a /development.md | |
| parent | 200fe5ae1f68cfd29b1e73f4e3f0764d355afe34 (diff) | |
| parent | 738bb79c6a26c16f9c4ad48b921b1cc7012a3caa (diff) | |
Merge pull request #28363 from mikebrow/enable-debug-build-options
Automatic merge from submit-queue
adds source debug build options
See issue & discussion here: #28227
Enables source debugging the Kubernetes binaries with tools like delve by providing the user with the ability to provide debug build options to the glang compiler.
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
Diffstat (limited to 'development.md')
| -rw-r--r-- | development.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/development.md b/development.md index 594dfcdf..ac2b3bb3 100644 --- a/development.md +++ b/development.md @@ -75,8 +75,14 @@ binaries): make ``` -You may pass build options and packages to the script as necessary. To build -binaries for all platforms: +You may pass build options and packages to the script as necessary. For example, +to build with optimizations disabled for enabling use of source debug tools: + +```sh + make GOGCFLAGS="-N -l" +``` + +To build binaries for all platforms: ```sh make cross |
