Thread (3 messages) flat view 3 messages, 3 authors, 2018-10-30

Re: [PATCH v2 1/2] kbuild: replace cc-name test with CONFIG_CC_IS_CLANG

From: Joel Stanley <joel@jms.id.au>
Date: 2018-10-30 21:11:35
Also in: linux-kbuild, linux-mips, lkml

On Tue, 30 Oct 2018 at 23:58, Masahiro Yamada
[off-list ref] wrote:
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.
Thanks, I didn't know about this.
Signed-off-by: Masahiro Yamada <redacted>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Acked-by: Joel Stanley <joel@jms.id.au>

Cheers,

Joel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help