Re: [gentoo-dev] [PATCH v3] kernel-2.eclass: Respect portage toolchain variables

2022-01-04 Thread Mike
On 1/4/22 18:25, Sam James wrote: > > >> On 3 Jan 2022, at 18:23, Mike Gilbert > > wrote: On Mon, Jan 3, 2022 at 12:49 >> PM Adrian Ratiu > > wrote: >>> >>> Starting with kernel>=v5.7 the build system can override the >>> tools

Re: [gentoo-dev] [PATCH v3] kernel-2.eclass: Respect portage toolchain variables

2022-01-04 Thread Sam James
> On 3 Jan 2022, at 18:23, Mike Gilbert wrote: > On Mon, Jan 3, 2022 at 12:49 PM Adrian Ratiu > wrote: >> >> Starting with kernel>=v5.7 the build system can override the >> tools vars by setting LLVM=1 [1], but older kernels still use >> the default GNU

Re: [gentoo-dev] [PATCH v3] kernel-2.eclass: Respect portage toolchain variables

2022-01-03 Thread Mike Gilbert
On Mon, Jan 3, 2022 at 12:49 PM Adrian Ratiu wrote: > > Starting with kernel>=v5.7 the build system can override the > tools vars by setting LLVM=1 [1], but older kernels still use > the default GNU tools, so to be able to use a full LLVM/Clang > build, CC & co should be set to their respective

[gentoo-dev] [PATCH v3] kernel-2.eclass: Respect portage toolchain variables

2022-01-03 Thread Adrian Ratiu
Starting with kernel>=v5.7 the build system can override the tools vars by setting LLVM=1 [1], but older kernels still use the default GNU tools, so to be able to use a full LLVM/Clang build, CC & co should be set to their respective portage values. [1] a0d1c951ef08 kbuild: support LLVM=1 to