summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorMark Charlebois <charlebm@gmail.com>2019-09-27 08:05:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-14 12:52:11 +0200
commitf2f6db2654d7a47d9335674b0250ed68b8c2ae74 (patch)
tree9ec91017f239d74b9188fa762d548cea01de87cd /commands
parent3dbc50408b2514125a7170da77912688eb501655 (diff)
downloadbarebox-f2f6db2654d7a47d9335674b0250ed68b8c2ae74.tar.gz
barebox-f2f6db2654d7a47d9335674b0250ed68b8c2ae74.tar.xz
kbuild, LLVMLinux: Add -Werror to cc-option to support clang
Clang will warn about unknown warnings but will not return false unless -Werror is set. GCC will return false if an unknown warning is passed. Adding -Werror make both compiler behave the same. [arnd: it turns out we need the same patch for testing whether -ffunction-sections works right with gcc. I've build tested extensively with this patch applied, so let's just merge this one now.] Signed-off-by: Mark Charlebois <charlebm@gmail.com> Signed-off-by: Behan Webster <behanw@converseincode.com> Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [afa: ported to barebox from upstream c3f0d0bc5b01ad9] Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions