diff options
Diffstat (limited to 'app-emulation/img/img-0.5.7.ebuild')
-rw-r--r-- | app-emulation/img/img-0.5.7.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/img/img-0.5.7.ebuild b/app-emulation/img/img-0.5.7.ebuild index a83d24d7c281..21373b5f486d 100644 --- a/app-emulation/img/img-0.5.7.ebuild +++ b/app-emulation/img/img-0.5.7.ebuild @@ -21,7 +21,7 @@ RESTRICT="test" src_compile() { local TAGS=$(usex seccomp 'seccomp' '') pushd src/${EGO_PN} || die - GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die + GOPATH="${S}" go build -mod vendor -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die popd || die } |