mirror of
https://github.com/restic/restic.git
synced 2026-11-20 20:46:54 +00:00
Merge pull request #1603 from jfparis/master
Add support for GOARM parameter when cross compiling
This commit is contained in:
commit
54c0794cf3
2 files changed
+12
-2
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user