kbuild: LLVMLinux: Adapt warnings for compilation with clang
authorJan-Simon Möller <dl9pf@gmx.de>
Wed, 14 Nov 2012 09:39:57 +0000 (10:39 +0100)
committerBehan Webster <behanw@converseincode.com>
Wed, 9 Apr 2014 20:44:34 +0000 (13:44 -0700)
commit3d3d6b8474204b6819688c9800774d52d370a538
tree0ea1f638f5d13c947365eba9b081ea2f59a3c1fb
parent61163efae02040f66a95c8ed17f4407951ba58fa
kbuild: LLVMLinux: Adapt warnings for compilation with clang

When compiling kernel with clang, disable warnings which are too noisy, and
add the clang flag catch-undefined-behavior.

Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Signed-off-by: Mark Charlebois <mcharleb@gmail.com>
Cc: PaX Team <pageexec@freemail.hu>
scripts/Makefile.build