Skip to content

Commit 7ac638f

Browse files
committed
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>
1 parent 238887e commit 7ac638f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

daemon/graphdriver/quota/projectquota.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux,!exclude_disk_quota
1+
// +build linux,!exclude_disk_quota,cgo
22

33
//
44
// projectquota.go - implements XFS project quota controls

daemon/graphdriver/quota/projectquota_unsupported.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux,exclude_disk_quota
1+
// +build linux,exclude_disk_quota linux,!cgo
22

33
package quota // import "github.com/docker/docker/daemon/graphdriver/quota"
44

hack/make/.binary

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ hash_files() {
7070
esac
7171
fi
7272

73-
# -buildmode=pie is not supported on Windows and Linux on mips.
73+
# -buildmode=pie is not supported on Windows and Linux on mips and riscv64.
7474
case "$(go env GOOS)/$(go env GOARCH)" in
75-
windows/* | linux/mips*) ;;
75+
windows/* | linux/mips* | linux/riscv*) ;;
7676

7777
*)
7878
BUILDFLAGS+=("-buildmode=pie")

0 commit comments

Comments
 (0)