Add support to riscv64 to the build scripts
Added riscv64 architecture support to the scripts used to build Docker and it's dependencies. Signed-off-by: Carlos de Paula <me@carlosedp.com>
This commit is contained in:
parent
238887ef06
commit
7ac638f86a
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