[gentoo-dev] [PATCH] media-libs/freetype: fix GCC usage during configure

2022-01-07 Thread Adrian Ratiu
-gnu-gcc... x86_64-cros-linux-gnu-clang checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-cros-linux-gnu-clang checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-cros-linux-gnu-clang checking for suffix of native executables... Signed-off-by: Adrian Ratiu --- media-libs/freetype/freetype

[gentoo-dev] [PATCH] kernel-2.eclass: fix minor OBOBJCOPY -> OBJCOPY typo

2022-01-05 Thread Adrian Ratiu
Fixes:55f5c68c01e791c7339144aadc1f20802791551e Suggested-by: Manoj Gupta Signed-off-by: Adrian Ratiu --- eclass/kernel-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 865c43d3153..d1784717e41 100644 --- a/eclass

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

2022-01-03 Thread Adrian Ratiu
VM=1 to switch the default tools to Clang/LLVM Co-authored-by: Manoj Gupta Signed-off-by: Adrian Ratiu --- Changes in v3: - Add rest of vars used by kernel builds (suggested by James) - Minor commit msg rewording Changes in v2: - Set AR variable which is also required for linux-headers - Rew

Re: [gentoo-dev] [PATCH v2] kernel-2.eclass: Respect portage CC & AR variables

2021-12-16 Thread Adrian Ratiu
Hi Andrew, On Thu, 16 Dec 2021, Andrew Savchenko wrote: On Thu, 16 Dec 2021 03:32:10 +0300 Andrew Savchenko wrote: On Wed, 15 Dec 2021 16:58:26 +0200 Adrian Ratiu wrote: > Starting with kernel>=v5.7 the build system can override the > tools vars by setting LLVM=1 [1], but older kern

Re: [gentoo-dev] [PATCH v2] kernel-2.eclass: Respect portage CC & AR variables

2021-12-16 Thread Adrian Ratiu
Hi James, thank you very much for your feedback! On Wed, 15 Dec 2021, James Beddek wrote: On Thursday, 16 December 2021 3:58:26 AM NZDT 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 defa

[gentoo-dev] [PATCH v2] kernel-2.eclass: Respect portage CC & AR variables

2021-12-15 Thread Adrian Ratiu
ing the kernel with clang (using the set HOSTCC) but using gcc/gnu-ar for headers. [1] a0d1c951ef08 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM Co-authored-by: Manoj Gupta Signed-off-by: Adrian Ratiu --- eclass/kernel-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 delet

[gentoo-dev] [PATCH] kernel-2.eclass: Respect portage CC variable

2021-11-29 Thread Adrian Ratiu
[1] a0d1c951ef08 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM Co-authored-by: Manoj Gupta Signed-off-by: Adrian Ratiu --- eclass/kernel-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index adc1425b