Merge pull request #1603 from jfparis/master

Add support for GOARM parameter when cross compiling
This commit is contained in:
Alexander Neumann
2018-02-11 21:03:29 +01:00
2 changed files with 12 additions and 2 deletions

View File

@@ -113,6 +113,8 @@ supply the target OS and platform via the command-line options like this
$ go run build.go --goos freebsd --goarch 386
$ go run build.go --goos linux --goarch arm --goarm 6
The resulting binary is statically linked and does not require any
libraries.