]> git.itanic.dy.fi Git - linux-stable/commit
Makefile.compiler: replace cc-ifversion with compiler-specific macros
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 19 Sep 2022 17:08:28 +0000 (10:08 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 28 Sep 2022 19:40:16 +0000 (04:40 +0900)
commit88b61e3bff93f99712718db785b4aa0c1165f35c
tree6a77ccf3bfdbe1f146c02a77dcdbcaf1463c1f40
parent2e07005f4813a9ff6e895787e0c2d1fea859b033
Makefile.compiler: replace cc-ifversion with compiler-specific macros

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@mail.gmail.com/
Suggested-by: Bill Wendling <morbo@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/makefiles.rst
Makefile
drivers/gpu/drm/amd/display/dc/dml/Makefile
scripts/Makefile.compiler
scripts/Makefile.extrawarn