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