]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite20507ab9906f07f5fea2e8ba1aac0665c3c4875
tree0ea1f638f5d13c947365eba9b081ea2f59a3c1fb
parent3eb7b54ed542931d56365ee3cbe253c19cf83dea
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