commit:     156c19492867660e906b3d4c79bece66fb102b78
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 23:09:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 23:09:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156c1949

go-module.eclass: fix typo in buildmode

Fixes: f4dade77c0882aab06f35f8db1154d0a52f0ba1b
Bug: https://bugs.gentoo.org/702598
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/go-module.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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='.*'

Reply via email to