Skip to content

Commit c80fa7d

Browse files
Merge pull request containerd#3801 from jneuhauser/arch-mips
mips: -buildmode=pie is not supported for the mips arch
2 parents 3567020 + 4c99c81 commit c80fa7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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),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)