summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/golang-base.eclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass
index c8308d286658..f0941ef822c0 100644
--- a/eclass/golang-base.eclass
+++ b/eclass/golang-base.eclass
@@ -30,6 +30,9 @@ QA_FLAGS_IGNORED='.*'
STRIP_MASK="*.a"
+# Do not use the go build cache for go 1.11.
+export GOCACHE=off
+
# @ECLASS-VARIABLE: EGO_PN
# @REQUIRED
# @DESCRIPTION: