From db46293bc6866a9bcffc9cb5b1ae9c46e4f83fa7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan-Simon=20M=C3=B6ller?= Date: Wed, 14 Nov 2012 10:55:48 +0100 Subject: [PATCH] kbuild: LLVMLinux: Fix LINUX_COMPILER definition script for compilation with clang MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed