Re: [PATCH 07/14] go-env.eclass: go-module.eclass: Move GOFLAGS handling between eclasses

James Le Cuirot <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <[email protected]>
On Sat, 2026-03-14 at 06:23 -0400, Ionen Wolkens wrote:
> On Sat, Mar 14, 2026 at 09:31:19AM +0000, James Le Cuirot wrote:
> > We should set this together with the other environment variables,
> > especially as -buildmode=pie is arch-specific. We now set that based on
> > the tuple rather than USE flags. Parallelism is now set via GOMAXPROCS
> > instead of GOFLAGS because why not.
> 
> I'd just like to say thanks for that, this was a bother when wanting to
> use go-env.eclass on its own.
> 
> Had suggested this before but vaguely recall William told me that
> go-env.eclass was meant to be a temporary solution to something (forget
> the details, I don't keep up with Go much) and there was plans to merge
> it into go-module.eclass

That's surprising news to me, given that he didn't write go-env.eclass.

> Personally wanted it to stay though, go-module comes with extra baggage
> that doesn't fit every packages, esp. mixed language ones and it's nice
> to be able to have only the toolchain bits.

I agree. Hopefully this rework makes the separation look better.
signature.asc (application/pgp-signature, 1 KB)
-----BEGIN PGP SIGNATURE-----

iQLBBAABCgCrFiEEPxcZ3tkwcedKm2a8EiZBXQDdMTcFAmm2cV0bFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzRjE3MTlERUQ5MzA3MUU3NEE5QjY2
QkMxMjI2NDE1RDAwREQzMTM3ERxjaGV3aUBnZW50b28ub3JnAAoJEBImQV0A3TE3
C4gP/Axkghs3nvQ4jJWRWxJTQc4FU0deMuBrUkfeZuvkimnE3zAeHO1UFXRf6IoJ
SKnYv1SRC7qmRgG5zFOkMcPzyYL3QQ8GAMoEzwMzoXFXt0PJ0BbCvQsYleRLlQ0g
oups5rwMfjrsKhe5GLUL74kj7lFlb2xP6tvDW59dKgSdGZ3sUL1DKhnoj7SzNLGb
i/sZ/EPGgPp7cLmVf0nGU1ma+axFRmTHYKprqwbAYd0y3r+k6Q1F+GM2YGo/lJ9l
+UJ9I7DEpu422bf3T2iWYA0cZnwJFgddK1K2JjxtLd3ldQFhNBjws/kz+TqWVZs2
WzIVoJCcDW1RWki6eFSJ5EDxqRAx4l8PeOhCPuQx8vcY9vP+j8UuLwCvPI/A/wmg
iHhxe6LMvWCeD3uitRnct4StNCLz1dwD68OezxWCTH+SANx0S5Qnk6+VXHdWjQEq
kSCQs49OvMMXMGKcbXa0zD1soz8f+yh7ADwIuf7/0w6pL/E3dnkfR2I9diKSkD/m
E2OLu8VFUJPfRSMT+zNr4d0zIFPt9cBlFCC5NI5P0t/k0lDx16IpK0HePmM7NGKl
YO0tSliRC4wXF1jtUDiMdN96PuYvqsurwSekF4nySwr/+3676Bh4Eb9gjR1KGYvP
ybfvGfSERPkEl2zKPPHcgOKZm07tNZ8JFAulHLo53dI3QdlY
=Q0b6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.