kbuild, LLVMLinux: Supress warnings unless W=1-3
authorBehan Webster <behanw@converseincode.com>
Fri, 1 Aug 2014 04:08:25 +0000 (21:08 -0700)
committerMichal Marek <mmarek@suse.cz>
Tue, 5 Aug 2014 13:40:01 +0000 (15:40 +0200)
commit26ea6bb1fef06c686be771903ecab0518af5c2de
tree9e74b8c2f493bffb2f721be4b1b831d2866663b7
parentbfaf2dd3509bc73bf4a4cea0e72472755ed860e2
kbuild, LLVMLinux: Supress warnings unless W=1-3

clang has more warnings enabled by default. Turn them off unless W is
set. This patch fixes a logic bug where warnings in clang were disabled
when W was set.

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: bp@alien8.de
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
scripts/Makefile.extrawarn