Merge pull request #40664 from carlosedp/riscv64-build
Add riscv64 support to the build scripts
This commit is contained in:
commit
846b557cb8
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
// +build linux,!exclude_disk_quota
|
||||
// +build linux,!exclude_disk_quota,cgo
|
||||
|
||||
//
|
||||
// projectquota.go - implements XFS project quota controls
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux,exclude_disk_quota
|
||||
// +build linux,exclude_disk_quota linux,!cgo
|
||||
|
||||
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
|
||||
|
||||
|
|
|
@ -70,9 +70,9 @@ hash_files() {
|
|||
esac
|
||||
fi
|
||||
|
||||
# -buildmode=pie is not supported on Windows and Linux on mips.
|
||||
# -buildmode=pie is not supported on Windows and Linux on mips and riscv64.
|
||||
case "$(go env GOOS)/$(go env GOARCH)" in
|
||||
windows/* | linux/mips*) ;;
|
||||
windows/* | linux/mips* | linux/riscv*) ;;
|
||||
|
||||
*)
|
||||
BUILDFLAGS+=("-buildmode=pie")
|
||||
|
|
Loading…
Reference in a new issue