Merge pull request #1936 from kolyshkin/netgo

BUILDING.md: add netgo for static build
This commit is contained in:
Kenfe-Mickaël Laventure 2017-12-20 08:46:07 -08:00 committed by GitHub
commit cd05decbe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ You can build static binaries by providing a few variables to `make`:
```sudo
make EXTRA_FLAGS="-buildmode pie" \
EXTRA_LDFLAGS='-extldflags "-fno-PIC -static"' \
BUILDTAGS="static_build"
BUILDTAGS="static_build netgo"
```
> *Note*: