diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-07 20:32:22 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-07 20:32:22 +0300 |
commit | 5b8a83551d339736af92c43524ed0e1ba01122af (patch) | |
tree | c05ddf8c68a2c7f00c8843a231026d95b3d82f43 /Makefile | |
parent | 54fb6e396dd6a0cfbbed77d6baffa23899f4fca9 (diff) | |
parent | 7bb1cc3bb9d6fca5f285db4df2299c3b80aa8c4a (diff) | |
download | u-boot-5b8a83551d339736af92c43524ed0e1ba01122af.tar.xz |
Merge branch '2021-07-06-update-to-gcc11-clang11'
- Update CI to use gcc-11.1 and clang-11 to build everything. This
requires a few fixes to the code that these newer compilers have
exposed.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -712,6 +712,10 @@ KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks) # disable stringop warnings in gcc 8+ KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation) +KBUILD_CFLAGS += $(call cc-disable-warning, zero-length-bounds) +KBUILD_CFLAGS += $(call cc-disable-warning, array-bounds) +KBUILD_CFLAGS += $(call cc-disable-warning, stringop-overflow) + # Enabled with W=2, disabled by default as noisy KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized) |