diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-10-31 11:00:34 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-04 15:01:56 -0500 |
commit | 15cfa32a22a93112bd1bacea6f2ce6d01f91ff9c (patch) | |
tree | e48c8ad013b87bb081a6d366c72e773ddfe72411 /scripts/Makefile.extrawarn | |
parent | 7f7563cec11388451cd81c99abfa86836b1bdd75 (diff) | |
download | u-boot-15cfa32a22a93112bd1bacea6f2ce6d01f91ff9c.tar.gz u-boot-15cfa32a22a93112bd1bacea6f2ce6d01f91ff9c.tar.xz u-boot-15cfa32a22a93112bd1bacea6f2ce6d01f91ff9c.zip |
kbuild: do not hide clang warnings during build with W=1
These lines originate in Linux; it looks like Linux folks chose to
hide bunch of warnings reported by clang rather than fixing C code.
In U-boot, warnings are being fixed thanks to Jeroen's great efforts.
Let's stop suppressing clang warnings.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'scripts/Makefile.extrawarn')
-rw-r--r-- | scripts/Makefile.extrawarn | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 65643506c7..0ec0d24b1c 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -26,16 +26,6 @@ warning-1 += $(call cc-option, -Wmissing-include-dirs) warning-1 += $(call cc-option, -Wunused-but-set-variable) warning-1 += $(call cc-disable-warning, missing-field-initializers) -# Clang -warning-1 += $(call cc-disable-warning, initializer-overrides) -warning-1 += $(call cc-disable-warning, unused-value) -warning-1 += $(call cc-disable-warning, format) -warning-1 += $(call cc-disable-warning, unknown-warning-option) -warning-1 += $(call cc-disable-warning, sign-compare) -warning-1 += $(call cc-disable-warning, format-zero-length) -warning-1 += $(call cc-disable-warning, uninitialized) -warning-1 += $(call cc-option, -fcatch-undefined-behavior) - warning-2 := -Waggregate-return warning-2 += -Wcast-align warning-2 += -Wdisabled-optimization |