summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)