summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-03-06 09:16:22 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-03-06 09:19:11 -0600
commit38e62628c1da110135ac151fece76ee4d663ba7c (patch)
treea0c70d28181f0433659b9485d4c62314ec85e43f /eclass/go-module.eclass
parentapp-text/texlive-core: fix poppler-0.86 compat (diff)
downloadgentoo-38e62628c1da110135ac151fece76ee4d663ba7c.tar.gz
gentoo-38e62628c1da110135ac151fece76ee4d663ba7c.tar.bz2
gentoo-38e62628c1da110135ac151fece76ee4d663ba7c.zip
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@gentoo.org>
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r--eclass/go-module.eclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index 68a72d12e1bd..08c123873c47 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"
}