Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 23 Sep 2021 21:14:01
Message-Id: 1632431423.13e742b871c4a90a7545545cd0a04cc838b938ed.williamh@gentoo
1 commit: 13e742b871c4a90a7545545cd0a04cc838b938ed
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 23 21:09:39 2021 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 23 21:10:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e742b8
7
8 go-modules.eclass: allow the module cache to be read/write
9
10 This allows the modules to be cleaned up on prefix systems.
11
12 More information is available here:
13 https://github.com/golang/go/issues/27161
14
15 I would like to thank Raffaele Spinelli <rafspiny <AT> gmail.com> for the
16 original patch this was based on.
17
18 Closes: https://bugs.gentoo.org/812977
19 Closes: https://github.com/gentoo/gentoo/pull/22365
20
21 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
22
23 eclass/go-module.eclass | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26 diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
27 index d1e81babf1f..3ad8542a28a 100644
28 --- a/eclass/go-module.eclass
29 +++ b/eclass/go-module.eclass
30 @@ -75,7 +75,7 @@ export GOCACHE="${T}/go-build"
31 # The following go flags should be used for all builds.
32 # -v prints the names of packages as they are compiled
33 # -x prints commands as they are executed
34 -export GOFLAGS="-v -x"
35 +export GOFLAGS="-v -x -modcacherw"
36
37 # Do not complain about CFLAGS etc since go projects do not use them.
38 QA_FLAGS_IGNORED='.*'