diff options
author | Jan-Simon Möller <dl9pf@gmx.de> | 2012-11-14 13:55:48 +0400 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-04-10 00:44:35 +0400 |
commit | db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7 (patch) | |
tree | 354d35b77738a2cd1ef07960b039eda9f863fc51 /include/asm-generic/cmpxchg-local.h | |
parent | 8a260796a1019fbd064ed02fa51913727dc700b6 (diff) | |
download | linux-db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7.tar.xz |
kbuild: LLVMLinux: Fix LINUX_COMPILER definition script for compilation with clang
When building the LINUX_COMPILER definition, instead of merely taking the last
line from "$(CC) -v", grep for ' version ' in the output. This supports both
gcc and clang.
Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
Cc: PaX Team <pageexec@freemail.hu>
Diffstat (limited to 'include/asm-generic/cmpxchg-local.h')
0 files changed, 0 insertions, 0 deletions