Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Set CHOST within econf_build to fix config.site

2022-12-07 Thread Sam James
> On 6 Dec 2022, at 21:47, James Le Cuirot wrote: > > On Tue, 2022-12-06 at 10:12 +, Sam James wrote: >> [snip] >> Lgtm provided you've tested it in the relevant envs (which I'm sure you >> have). >> >> Curious how this didn't come up as a problem before, but it >> seems fine! > >

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Set CHOST within econf_build to fix config.site

2022-12-06 Thread James Le Cuirot
On Tue, 2022-12-06 at 10:12 +, Sam James wrote: > > > On 6 Dec 2022, at 09:03, James Le Cuirot wrote: > > > > We were setting CBUILD within econf_build but not CHOST. crossdev's > > /usr/share/config.site relies on both of these to decide whether to load > > configure overrides needed when

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: Set CHOST within econf_build to fix config.site

2022-12-06 Thread Sam James
> On 6 Dec 2022, at 09:03, James Le Cuirot wrote: > > We were setting CBUILD within econf_build but not CHOST. crossdev's > /usr/share/config.site relies on both of these to decide whether to load > configure overrides needed when cross-compiling. Using the wrong > overrides leads to packages