Skip to content

Commit 4c99c81

Browse files
committed
mips: -buildmode=pie is not supported for the mips arch
Signed-off-by: Johann Neuhauser <[email protected]>
1 parent 3567020 commit 4c99c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.linux

+1-1
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),ppc64)
23+
ifneq ($(GOARCH),$(filter $(GOARCH),mips mipsle mips64 mips64le ppc64))
2424
GO_GCFLAGS += -buildmode=pie
2525
endif
2626
endif

0 commit comments

Comments
 (0)