aboutsummaryrefslogtreecommitdiff
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2013-09-03 22:27:23 -0400
committerMoyster <oysterized@gmail.com>2018-11-29 12:04:30 +0100
commit25d2a58ba34eb35e271544b7027de7ca3d9c49ec (patch)
tree00d3689a3e1870f6f020a54a91bb01f82a6f556b /lib/Kconfig.debug
parenta66535c954bd7b4234b20f2bcd036dc32f5161d6 (diff)
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 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions