summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r--eclass/go-module.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index d1e81babf1f8..3ad8542a28ae 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -75,7 +75,7 @@ export GOCACHE="${T}/go-build"
# The following go flags should be used for all builds.
# -v prints the names of packages as they are compiled
# -x prints commands as they are executed
-export GOFLAGS="-v -x"
+export GOFLAGS="-v -x -modcacherw"
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'