adds source debug build options
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
parent
451e9a5a3f
commit
738bb79c6a
|
|
@ -75,8 +75,14 @@ binaries):
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
You may pass build options and packages to the script as necessary. To build
|
You may pass build options and packages to the script as necessary. For example,
|
||||||
binaries for all platforms:
|
to build with optimizations disabled for enabling use of source debug tools:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
make GOGCFLAGS="-N -l"
|
||||||
|
```
|
||||||
|
|
||||||
|
To build binaries for all platforms:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make cross
|
make cross
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue