diff options
author | Vadim Sukhomlinov <sukhomlinov@google.com> | 2022-07-13 14:32:44 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-14 16:55:51 +0000 |
commit | 923f4a6d25591fc18668ff5442f0db687e5337bc (patch) | |
tree | 40984dea077cdb07b305a4e382ee99cd762b16d7 | |
parent | bd8f26e7fa5fdcf27c0807448deac7a630863942 (diff) | |
download | chrome-ec-stabilize-14989.85.B-cr50_stab.tar.gz |
Makefile.toolchain: Disable assembler warningsstabilize-14998.B-cr50_stabstabilize-14989.85.B-cr50_stabstabilize-14989.107.B-cr50_stabrelease-R105-14989.B-cr50_stabfactory-foobar-15000.B-cr50_stab
Binutils 2.36 seems to have a bug which is addressed in 2.37.
https://sourceware.org/bugzilla/show_bug.cgi?id=27412
This is a temporarily fix.
BUG=b:238039591
TEST=make hosttests
Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com>
Change-Id: I78551ec9eac5eb7e6fad2da8eb734c5a895d3a3c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3760892
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Auto-Submit: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r-- | Makefile.toolchain | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain index 7735564e36..b2f87941e0 100644 --- a/Makefile.toolchain +++ b/Makefile.toolchain @@ -105,6 +105,9 @@ CFLAGS+= -fno-PIC ifneq ($(cc-name),clang) CFLAGS+= -ffat-lto-objects CFLAGS+= -fconserve-stack +# Disable assembler warnings +# TODO (b/238039591) Remove this when binutils updates to 2.37+ +CFLAGS+= -Wa,-W endif CFLAGS+=$(CFLAGS_CHIP) $(CFLAGS_BOARD) |