diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 05:06:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-21 05:06:32 +0000 |
commit | 949b406c5d38689bd65345d9326fefd8e102d163 (patch) | |
tree | e15f90953487ca7371c6cd43229251cceb73cd65 /eclass/go-module.eclass | |
parent | 3efb3c04b80206d986b51767e6b879119d219e42 (diff) |
gentoo auto-resync : 21:11:2023 - 05:06:32
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r-- | eclass/go-module.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 6c58d7f26f07..701d36e012e2 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -68,7 +68,7 @@ esac if [[ -z ${_GO_MODULE_ECLASS} ]]; then _GO_MODULE_ECLASS=1 -inherit multiprocessing toolchain-funcs +inherit multiprocessing toolchain-funcs go-env if [[ ! ${GO_OPTIONAL} ]]; then BDEPEND=">=dev-lang/go-1.18" @@ -363,6 +363,7 @@ go-module_setup_proxy() { # local go proxy. This mode is deprecated. # 2. Otherwise, if EGO_VENDOR is set, bail out, as this functionality was removed. # 3. Otherwise, call 'ego mod verify' and then do a normal unpack. +# Set compile env via go-env. go-module_src_unpack() { if use amd64 || use arm || use arm64 || ( use ppc64 && [[ $(tc-endian) == "little" ]] ) || use s390 || use x86; then @@ -386,6 +387,8 @@ go-module_src_unpack() { ${nf} ego mod verify fi fi + + go-env_set_compile_environment } # @FUNCTION: _go-module_src_unpack_gosum |