adds source debug build options

Signed-off-by: Mike Brown <brownwm@us.ibm.com>
This commit is contained in:
Mike Brown
2016-07-01 11:36:47 -05:00
parent 7823c5779d
commit 6ca905ac37
3 changed files with 28 additions and 4 deletions

View File

@@ -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