summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-ld
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2013-09-04 04:27:23 +0200
committerBehan Webster <behanw@converseincode.com>2014-04-09 22:44:34 +0200
commit61163efae02040f66a95c8ed17f4407951ba58fa (patch)
treef4153900fa31a58ff6efeafc9db53b45cb71cfb4 /scripts/gcc-ld
parentMerge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-61163efae02040f66a95c8ed17f4407951ba58fa.tar.xz
linux-61163efae02040f66a95c8ed17f4407951ba58fa.zip
kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang
Add support to toplevel Makefile for compiling with clang, both for HOSTCC and CC. Use cc-option to prevent gcc option from breaking clang, and from clang options from breaking gcc. Clang 3.4 semantics are the same as gcc semantics for unsupported flags. For unsupported warnings clang 3.4 returns true but shows a warning and gcc shows a warning and returns false. Signed-off-by: Behan Webster <behanw@converseincode.com> Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de> Signed-off-by: Mark Charlebois <charlebm@gmail.com> Cc: PaX Team <pageexec@freemail.hu>
Diffstat (limited to 'scripts/gcc-ld')
0 files changed, 0 insertions, 0 deletions