mirror of https://github.com/docker/cli.git
Set CGO_ENABLED=1 on riscv64
CGO works fine on riscv64 thus should be enabled. Avoid build error https://github.com/golang/go/issues/64875 Signed-off-by: Zhuo Zhi <h.dwwwwww@gmail.com>
This commit is contained in:
parent
d17b3b2d80
commit
800a51d6cd
|
@ -48,7 +48,7 @@ if [ -z "$CGO_ENABLED" ]; then
|
|||
case "$(go env GOOS)" in
|
||||
linux)
|
||||
case "$(go env GOARCH)" in
|
||||
amd64|arm64|arm|s390x)
|
||||
amd64|arm64|arm|s390x|riscv64)
|
||||
CGO_ENABLED=1
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue