From 22449473d7e4dd16610179d6d2384cba8770e9e2 Mon Sep 17 00:00:00 2001 From: James Christopher Adduono Date: Thu, 10 Mar 2016 22:52:58 -0500 Subject: [PATCH] Disable maybe-uninitialized warnings --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4ec533c9..30477649 100644 --- a/Makefile +++ b/Makefile @@ -621,9 +621,10 @@ all: vmlinux include $(srctree)/arch/$(SRCARCH)/Makefile KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,) +KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,) ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE -KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) +KBUILD_CFLAGS += -Os else KBUILD_CFLAGS += -O2 endif