Skip to content
Commit 076f421d authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: replace cc-name test with CONFIG_CC_IS_CLANG



Evaluating cc-name invokes the compiler every time even when you are
not compiling anything, like 'make help'. This is not efficient.

The compiler type has been already detected in the Kconfig stage.
Use CONFIG_CC_IS_CLANG, instead.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Acked-by: Paul Burton <paul.burton@mips.com> (MIPS)
Acked-by: default avatarJoel Stanley <joel@jms.id.au>
parent 2cd3faf8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment