diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-03 22:19:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-03 22:19:54 +0100 |
commit | 71f9cc21aab4168093940b3d2e267444d712bff5 (patch) | |
tree | 15406e14be0cd3cfbafe191468b8825b3ccc1855 /eclass/go-module.eclass | |
parent | 312456186919deebd1ea3b34b9e26b1e15ebd5b6 (diff) |
gentoo auto-resync : 03:09:2022 - 22:19:54
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r-- | eclass/go-module.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index a5dafb45cab8..681a5bca5561 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -68,7 +68,7 @@ if [[ -z ${_GO_MODULE} ]]; then _GO_MODULE=1 if [[ ! ${GO_OPTIONAL} ]]; then - BDEPEND=">=dev-lang/go-1.16" + BDEPEND=">=dev-lang/go-1.18" # Workaround for pkgcheck false positive: https://github.com/pkgcore/pkgcheck/issues/214 # MissingUnpackerDep: version ...: missing BDEPEND="app-arch/unzip" @@ -93,10 +93,11 @@ export GOCACHE="${T}/go-build" export GOMODCACHE="${WORKDIR}/go-mod" # The following go flags should be used for all builds. +# -buildvcs=false omits version control information # -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="-modcacherw -v -x" +export GOFLAGS="-buildvcs=false -modcacherw -v -x" # Do not complain about CFLAGS etc since go projects do not use them. QA_FLAGS_IGNORED='.*' |