diff options
author | Jan-Simon Möller <dl9pf@gmx.de> | 2012-11-14 10:55:48 +0100 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-04-09 13:44:35 -0700 |
commit | db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7 (patch) | |
tree | 354d35b77738a2cd1ef07960b039eda9f863fc51 /scripts/dtc | |
parent | 8a260796a1019fbd064ed02fa51913727dc700b6 (diff) | |
download | op-kernel-dev-db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7.zip op-kernel-dev-db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7.tar.gz |
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 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions