summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6b1038f46d31..08e9f267d0af 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -100,7 +100,7 @@ export GOMODCACHE="${WORKDIR}/go-mod"
# -modcacherw makes the build cache read/write
# -v prints the names of packages as they are compiled
# -x prints commands as they are executed
-export GOFLAGS="-buildmod=pie -buildvcs=false -modcacherw -v -x"
+export GOFLAGS="-buildmode=pie -buildvcs=false -modcacherw -v -x"
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'