summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
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 \