mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 03:33:26 +00:00
adds source debug build options
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user