Skip to content
Commit db46293b authored by Jan-Simon Möller's avatar Jan-Simon Möller Committed by Behan Webster
Browse files

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: default avatarJan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: default avatarBehan Webster <behanw@converseincode.com>
Signed-off-by: default avatarMark Charlebois <charlebm@gmail.com>
Cc: PaX Team <pageexec@freemail.hu>
parent 8a260796
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment