From 525f28bd7fd7b4c4d115a36a3d3bc6d4fcdfe60b Mon Sep 17 00:00:00 2001 From: amazingfate Date: Mon, 22 May 2023 14:14:31 +0800 Subject: [PATCH] Makefile: disable -Werror for compiling error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1982ced2f43a..083715e0b334 100644 --- a/Makefile +++ b/Makefile @@ -865,7 +865,7 @@ stackp-flags-$(CONFIG_STACKPROTECTOR_STRONG) := -fstack-protector-strong KBUILD_CFLAGS += $(stackp-flags-y) -KBUILD_CFLAGS-$(CONFIG_WERROR) += -Werror +#KBUILD_CFLAGS-$(CONFIG_WERROR) += -Werror KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds KBUILD_RUSTFLAGS-$(CONFIG_WERROR) += -Dwarnings