From: Jan-Simon Möller Date: Wed, 14 Nov 2012 09:55:48 +0000 (+0100) Subject: kbuild: LLVMLinux: Fix LINUX_COMPILER definition script for compilation with clang X-Git-Tag: v3.15-rc1~11^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7;p=pandora-kernel.git 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 Signed-off-by: Behan Webster Signed-off-by: Mark Charlebois Cc: PaX Team --- Reading git-diff-tree failed