Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: explicitly set ARM version to fix build #4553

Nick Craig-Woodf71f6c57d775
diff --git a/bin/cross-compile.go b/bin/cross-compile.go
index bb0faea37..14d3bcb72 100644
--- a/bin/cross-compile.go
+++ b/bin/cross-compile.go
@@ -74,6 +74,7 @@ var archFlags = map[string][]string{
"386": {"GO386=387"},
"mips": {"GOMIPS=softfloat"},
"mipsle": {"GOMIPS=softfloat"},
+ "arm": {"GOARM=6"},
"arm-v7": {"GOARM=7"},
}
@@ -280,7 +281,7 @@ func stripVersion(goarch string) string {
// build the binary in dir returning success or failure
func compileArch(version, goos, goarch, dir string) bool {
- log.Printf("Compiling %s/%s", goos, goarch)
+ log.Printf("Compiling %s/%s into %s", goos, goarch, dir)
output := filepath.Join(dir, "rclone")
if goos == "windows" {
output += ".exe"