From 7c31ae524c45378af224f52d47caaa117a582490 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 8 Dec 2021 14:13:22 +0100 Subject: [PATCH] ANDROID: allmodconfig: disable WERROR -Werror still fails on some arm and arm64 code due to clang issues (works on gcc!), so disable it when building allmodconfig builds for now. Hopefully the clang developers will work on this... Bug: 199872592 Signed-off-by: Greg Kroah-Hartman Change-Id: I6ccc856773c40e3c0f541a1316b20e9ae3de4380 (cherry picked from commit eb57c31115051c5404d1bb1f2daec20e051b0287) Signed-off-by: Alistair Delva --- build.config.allmodconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.config.allmodconfig b/build.config.allmodconfig index a48f8d420208..e5cbe7faa60a 100644 --- a/build.config.allmodconfig +++ b/build.config.allmodconfig @@ -9,6 +9,7 @@ function update_config() { -d CPU_BIG_ENDIAN \ -d DYNAMIC_FTRACE \ -e UNWINDER_FRAME_POINTER \ + -d WERROR \ (cd ${OUT_DIR} && \ make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} "${TOOL_ARGS[@]}" ${MAKE_ARGS} olddefconfig)