summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Sukhomlinov <sukhomlinov@google.com>2022-07-13 14:32:44 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-14 16:55:51 +0000
commit923f4a6d25591fc18668ff5442f0db687e5337bc (patch)
tree40984dea077cdb07b305a4e382ee99cd762b16d7
parentbd8f26e7fa5fdcf27c0807448deac7a630863942 (diff)
downloadchrome-ec-stabilize-14989.85.B-cr50_stab.tar.gz
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.toolchain3
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)