"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
Compile 386 builds with "GO386=387" for maximum compatibility #437
Nick Craig-Wood5135ff73cbec
diff --git a/bin/cross-compile.go b/bin/cross-compile.goindex ae701ba46..57b2fa5de 100644--- a/bin/cross-compile.go+++ b/bin/cross-compile.go@@ -49,6 +49,11 @@ var osarches = []string{"solaris/amd64",}+// Special environment flags for a given arch+var archFlags = map[string][]string{+ "386": {"GO386=387"},+}+// runEnv - run a shell command with envfunc runEnv(args, env []string) {if *debug {@@ -60,6 +65,9 @@ func runEnv(args, env []string) {if env != nil {cmd.Env = append(os.Environ(), env...)}+ if *debug {+ log.Printf("args = %v, env = %v\n", args, cmd.Env)+ }err := cmd.Run()if err != nil {log.Fatalf("Failed to run %v: %v", args, err)@@ -94,6 +102,9 @@ func compileArch(version, goos, goarch, dir string) {"GOARCH=" + goarch,"CGO_ENABLED=0",}+ if flags, ok := archFlags[goarch]; ok {+ env = append(env, flags...)+ }runEnv(args, env)// Now build the ziprun("cp", "-a", "../MANUAL.txt", filepath.Join(dir, "README.txt"))