]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - Makefile
Don't start ad-hoc games with -Wno-maybe-initialized
[thirdparty/u-boot.git] / Makefile
index 0226930a07f01fb637d1c84cb98e4acedf15f52e..9033509b9b7d8848269b197f7a5497943ed7fdf8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -683,6 +683,9 @@ KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks)
 # disable stringop warnings in gcc 8+
 KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)
 
+# Enabled with W=2, disabled by default as noisy
+KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
+
 # change __FILE__ to the relative path from the srctree
 KBUILD_CFLAGS  += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)