[lkml]   [2018]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 14/21] kconfig: add CC_IS_CLANG and CLANG_VERSION
On Mon, Mar 26, 2018 at 10:29 PM, Masahiro Yamada
<> wrote:
> This will be useful to describe the clang version dependency.
> Signed-off-by: Masahiro Yamada <>

One aspect of clang version checking that may be "weird" (and likely
won't be meaningful for very long as we're about to raise the minimum
gcc version), is that clang claims to be gcc version 4.2 if you look
at #defines. This is already handled in compiler.h, but may be weird
in Kconfig.


Reviewed-by: Kees Cook <>


Kees Cook
Pixel Security

 \ /
  Last update: 2018-03-28 13:22    [W:0.337 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site