X Tutup
Skip to content

Commit d12b53a

Browse files
author
Tibor Vass
committed
ppc64: -buildmode=pie is not supported
I needed this patch to compile containerd for ppc64. Signed-off-by: Tibor Vass <tibor@docker.com>
1 parent cedd3cb commit d12b53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile.linux

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ 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)
2324
GO_GCFLAGS += -buildmode=pie
25+
endif
2426
endif
2527

2628
# amd64 supports go test -race

0 commit comments

Comments
 (0)
X Tutup