commit: 38e62628c1da110135ac151fece76ee4d663ba7c
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 6 15:16:22 2020 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Mar 6 15:19:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e62628
go-module.eclass: remove the -mod readonly switch from go get
This is not valid in go 1.14, and according to their release notes was
ignored or caused the build to fail.
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
eclass/go-module.eclass | 2 --
1 file changed, 2 deletions(-)
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index 68a72d12e1b..08c123873c4 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -394,12 +394,10 @@ _go-module_src_unpack_verify_gosum() {
# 'go mod tidy' && 'go get' will flag it.
# -v = verbose
# -d = download only, don't install
- # -mod readonly = treat modules as readonly source
einfo "Verifying linked Golang modules"
go get \
-v \
-d \
- -mod readonly \
all \
|| die "Some module is missing, update EGO_SUM"
}