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>
Showing
- Documentation/kbuild/makefiles.rst 17 additions, 12 deletionsDocumentation/kbuild/makefiles.rst
- Makefile 2 additions, 4 deletionsMakefile
- drivers/gpu/drm/amd/display/dc/dml/Makefile 1 addition, 1 deletiondrivers/gpu/drm/amd/display/dc/dml/Makefile
- scripts/Makefile.compiler 7 additions, 3 deletionsscripts/Makefile.compiler
- scripts/Makefile.extrawarn 2 additions, 2 deletionsscripts/Makefile.extrawarn
Please register or sign in to comment