Re: [PATCH v4] Makefile.compiler: replace cc-ifversion with compiler-specific macros

From: Masahiro Yamada
Date: Fri Sep 23 2022 - 15:45:05 EST


On Tue, Sep 20, 2022 at 2:08 AM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> cc-ifversion is GCC specific. Replace it with compiler specific
> variants. Update the users of cc-ifversion to use these new macros.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/350
> Link: https://lore.kernel.org/llvm/CAGG=3QWSAUakO42kubrCap8fp-gm1ERJJAYXTnP1iHk_wrH=BQ@xxxxxxxxxxxxxx/
> Suggested-by: Bill Wendling <morbo@xxxxxxxxxx>
> Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> ---
> Changes v3 -> v4:
> * Split into its own patch again from series, as per Masahiro.
> * Rebase on top of b0839b281c427e844143dba3893e25c83cdd6c17 and update
> clang -Wformat logic in scripts/Makefile.extrawarn, as per Masahiro.


Applied to linux-kbuild.
Thanks.



--
Best Regards
Masahiro Yamada