From c08dffad8ed9f36f2b23c2e45fb492d365fee09f 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 --- build.config.allmodconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.config.allmodconfig b/build.config.allmodconfig index 32d9f92d1555..8d96095f32e5 100644 --- a/build.config.allmodconfig +++ b/build.config.allmodconfig @@ -4,6 +4,7 @@ POST_DEFCONFIG_CMDS="update_config" function update_config() { ${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \ -e UNWINDER_FRAME_POINTER \ + -d WERROR \ (cd ${OUT_DIR} && \ make O=${OUT_DIR} $archsubarch CROSS_COMPILE=${CROSS_COMPILE} ${TOOL_ARGS} ${MAKE_ARGS} olddefconfig)