Merge pull request #3784 from tiborvass/ppc64

ppc64: -buildmode=pie is not supported
This commit is contained in:
Michael Crosby 2019-10-29 11:23:32 -04:00 committed by GitHub
commit 4a1a1bc626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,9 @@ COMMANDS += containerd-shim containerd-shim-runc-v1 containerd-shim-runc-v2
# check GOOS for cross compile builds # check GOOS for cross compile builds
ifeq ($(GOOS),linux) ifeq ($(GOOS),linux)
ifneq ($(GOARCH),ppc64)
GO_GCFLAGS += -buildmode=pie GO_GCFLAGS += -buildmode=pie
endif
endif endif
# amd64 supports go test -race # amd64 supports go test -race