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 <gregkh@google.com>
Change-Id: I6ccc856773c40e3c0f541a1316b20e9ae3de4380
(cherry picked from commit eb57c31115051c5404d1bb1f2daec20e051b0287)
Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
Greg Kroah-Hartman
2021-12-08 14:13:22 +01:00
committed by Treehugger Robot
parent 824c55581d
commit 7c31ae524c

View File

@@ -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)