summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Sukhomlinov <sukhomlinov@google.com>2021-10-05 10:35:51 -0700
committerCommit Bot <commit-bot@chromium.org>2021-10-05 18:33:13 +0000
commitd64c8e2803a570aa3181fe67f2fb0f3241789de1 (patch)
treed762a2f4d962c7a8626f10dbce0e8ff011c40bac
parentb791f6ab3879b40f1cab9dd43f847fea351906b6 (diff)
downloadchrome-ec-d64c8e2803a570aa3181fe67f2fb0f3241789de1.tar.gz
cr50: fix build with older gcc8.3 until gcc 11.2 lands properly
New options for gcc 11.2 doesn't work on gcc 8.3 since gcc 11.2 update was reverted. BUG=None TEST=make buildall Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com> Change-Id: Idf965bab903f2700dd01eb028e2a1aa6dc53e101 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3206474 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org> Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--board/cr50/build.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/cr50/build.mk b/board/cr50/build.mk
index 3efe034b4e..f644a2c892 100644
--- a/board/cr50/build.mk
+++ b/board/cr50/build.mk
@@ -11,7 +11,8 @@ CHIP_FAMILY:=cr50
CHIP_VARIANT ?= cr50_fpga
# Additional / overriding warnings for common rules and chip
-CFLAGS_BOARD :=-Warray-parameter -Wstringop-overread
+# (TODO) enable after https://crrev.com/c/3198155
+# CFLAGS_BOARD :=-Warray-parameter -Wstringop-overread
# This file is included twice by the Makefile, once to determine the CHIP info
# and then again after defining all the CONFIG_ and HAS_TASK variables. We use