Home
last modified time | relevance | path

Searched hist:e33ae3ed (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/init/
H A DKconfige33ae3ed Thu Apr 23 09:23:51 CDT 2020 Masahiro Yamada <masahiroy@kernel.org> kbuild: use $(CC_VERSION_TEXT) to evaluate CC_IS_GCC and CC_IS_CLANG

The result of '$(CC) --version | head -n 1' has already been computed
by the top Makefile, and stored in the environment variable,
CC_VERSION_TEXT.

'echo' is cheaper than the two commands $(CC) and 'head' although this
optimization is not noticeable level.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>