]> git.baikalelectronics.ru Git - kernel.git/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)
commitdf6cf8fc85eb7e6f19a0cf89b31ae2f17112664e
tree6a77ccf3bfdbe1f146c02a77dcdbcaf1463c1f40
parenta91f9b895f12c059b5b1944b7a3d56bc0a92d510
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