Skip to content

Commit e34bf08

Browse files
riscv64 arch does not support -buildmode=pie
Signed-off-by: Lucas Kanashiro <[email protected]>
1 parent 7ef3c0f commit e34bf08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ COMMANDS += containerd-shim containerd-shim-runc-v1 containerd-shim-runc-v2
2020

2121
# check GOOS for cross compile builds
2222
ifeq ($(GOOS),linux)
23-
ifneq ($(GOARCH),$(filter $(GOARCH),mips mipsle mips64 mips64le ppc64))
23+
ifneq ($(GOARCH),$(filter $(GOARCH),mips mipsle mips64 mips64le ppc64 riscv64))
2424
GO_GCFLAGS += -buildmode=pie
2525
endif
2626
endif

0 commit comments

Comments
 (0)