diff options
author | William Hubbs <williamh@gentoo.org> | 2021-02-17 13:18:31 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-02-17 13:20:41 -0600 |
commit | 0fca1042eea4b41d746cb0b460892f45779f5497 (patch) | |
tree | e7cd4164c03e97c0c0650a8a497b53c2d4370f50 /eclass | |
parent | sys-power/acpilight: Revbump for Python 3.9 and upstream patch (diff) | |
download | gentoo-0fca1042eea4b41d746cb0b460892f45779f5497.tar.gz gentoo-0fca1042eea4b41d746cb0b460892f45779f5497.tar.bz2 gentoo-0fca1042eea4b41d746cb0b460892f45779f5497.zip |
golang-base.eclass: keep GO111MODULE in auto mode
Go 1.16 forces module-aware mode on by default but this breaks builds.
Bug: https://bugs.gentoo.org/771129
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/golang-base.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index 45603d76fd5d..e700d17a4d8f 100644 --- a/eclass/golang-base.eclass +++ b/eclass/golang-base.eclass @@ -36,6 +36,9 @@ QA_FLAGS_IGNORED='.*' # Upstream does not support stripping go packages RESTRICT="strip" +# force GO111MODULE to be auto for bug https://bugs.gentoo.org/771129 +export GO111MODULE=auto + # @ECLASS-VARIABLE: EGO_PN # @REQUIRED # @DESCRIPTION: |