forked from rclone/rclone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: correct building for ARMv5 and ARMv6
Explicitly set ARM version in GOARM build variable, to avoid relying on some default value which differs when compiling natively and when cross-compiling, and which is also incorrectly documented as being 6 when in reality it is 5. Fix incorrect labelling of ARMv5 builds as ARMv6, and change architecture of .rpm and .deb packages containing them to match. Add ARMv6 builds, to complement existing ARMv5 and ARMv7, and to reduce disruption due to previous ARMv5 builds incorrectly being identified as ARMv6, and to provide .rpm and .deb packages with the same ARMv6 architectures as was previously also published (then containing ARMv5 binaries). See rclone#6528 Background info: https://github.com/golang/go/wiki/GoArm https://go.dev/doc/install/source#environment https://github.com/golang/go/blob/661e931dd120484cc1318792bc93ace00bbde088/src/cmd/dist/build.go#L140-L144 https://github.com/golang/go/blob/661e931dd120484cc1318792bc93ace00bbde088/src/cmd/dist/util.go#L392-L422
- Loading branch information
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters