Skip to content

Commit

Permalink
Merge pull request containerd#3801 from jneuhauser/arch-mips
Browse files Browse the repository at this point in the history
mips: -buildmode=pie is not supported for the mips arch
  • Loading branch information
crosbymichael committed Nov 6, 2019
2 parents 3567020 + 4c99c81 commit c80fa7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.linux
Expand Up @@ -20,7 +20,7 @@ COMMANDS += containerd-shim containerd-shim-runc-v1 containerd-shim-runc-v2

# check GOOS for cross compile builds
ifeq ($(GOOS),linux)
ifneq ($(GOARCH),ppc64)
ifneq ($(GOARCH),$(filter $(GOARCH),mips mipsle mips64 mips64le ppc64))
GO_GCFLAGS += -buildmode=pie
endif
endif
Expand Down

0 comments on commit c80fa7d

Please sign in to comment.