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 451e9a5a3f
commit 738bb79c6a
1 changed files with 8 additions and 2 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