summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2012-02-27 15:04:37 -0800
committerBill Richardson <wfrichar@chromium.org>2012-02-27 15:54:00 -0800
commitae8dd20d77385ed9822d17345c68ee54362cdfb2 (patch)
treeff12df84568a5b40cc343a645bda3c5ad9ad3802 /Makefile.toolchain
parentf40df60a9a963d43f1a3a0309f2c2f98f28dd1aa (diff)
downloadchrome-ec-ae8dd20d77385ed9822d17345c68ee54362cdfb2.tar.gz
Make all warnings into errors.
Also fix a couple places where that makes it fail. BUG=none TEST=none Change-Id: I3b434b4bfa547a579193aac67c1a9d440a2c4e51
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r--Makefile.toolchain2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index 90a3ca4990..89977f5c78 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -17,7 +17,7 @@ OBJDUMP=$(CROSS_COMPILE)objdump
BUILDCC?=gcc
HOSTCC?=$(HOST_CROSS_COMPILE)gcc
-CFLAGS_WARN=-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
+CFLAGS_WARN=-Wall -Werror -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration -Wno-format-security \
-fno-delete-null-pointer-checks -Wdeclaration-after-statement \