diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild index b8d6eb053b..7a943da963 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild @@ -54,6 +54,8 @@ src_prepare() { src_compile() { local options=( $(usex btrfs "" "no_btrfs") ) export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor + export GO111MODULE=on + export GOFLAGS="-v -x -mod=vendor" LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') emake BUILDTAGS="${options[*]}" }