projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dca6ef
)
go-module.eclass: remove the -mod readonly switch from go get
author
William Hubbs
<williamh@gentoo.org>
Fri, 6 Mar 2020 15:16:22 +0000
(09:16 -0600)
committer
William Hubbs
<williamh@gentoo.org>
Fri, 6 Mar 2020 15:19:11 +0000
(09:19 -0600)
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>
eclass/go-module.eclass
patch
|
blob
|
history
diff --git
a/eclass/go-module.eclass
b/eclass/go-module.eclass
index 68a72d12e1bd39a2ba7617f2c615f48dd8a4ec39..08c123873c47940f2e2ba051a3a170381bad2c77 100644
(file)
--- 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"
}