forked from TrueCloudLab/rclone
build: fix "Illegal instruction" error for ARMv6 builds - fixes #4553
Before this change we used `go build -i` to build the releases in parallel. However this causes the ARMv6 and ARMv7 build to get mixed up somehow, causing an illegal instruction when running rclone binaries on ARMv6. See go bug: https://github.com/golang/go/issues/41223 This removes the -i which should have no effect on build times on the CI and appears to fix the problem.
This commit is contained in:
parent
f71f6c57d7
commit
525433e6dd
1 changed files with 0 additions and 1 deletions
|
@ -299,7 +299,6 @@ func compileArch(version, goos, goarch, dir string) bool {
|
|||
"go", "build",
|
||||
"--ldflags", "-s -X github.com/rclone/rclone/fs.Version=" + version,
|
||||
"-trimpath",
|
||||
"-i",
|
||||
"-o", output,
|
||||
"-tags", *tags,
|
||||
"..",
|
||||
|
|
Loading…
Add table
Reference in a new issue