]> git.sur5r.net Git - u-boot/commit
cc-option: also detect unsupported warnings options
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 30 Jul 2014 19:54:51 +0000 (21:54 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 9 Sep 2014 11:51:00 +0000 (13:51 +0200)
commit1401d87b444bf114528e997db552d22142918d33
tree70fa62638dc0dd292fa6773b39e35a1cebeba67c
parentf0c3a6c4ad09210d5d4aeafe87685ee75e5683d6
cc-option: also detect unsupported warnings options

By default clang will echo a warning if a warning option is
unknown. Turning warnings into errors when polling for options
also catches such cases and prevents passing arguments to the
compiler which cause warnings.

cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
cc: Tom Rini <trini@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
scripts/Kbuild.include