summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.toolchain3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index 8286be1e7c..3c93d774d4 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -112,7 +112,8 @@ HOSTGCOV=$(CURDIR)/util/llvm-gcov.sh
endif
C_WARN = -Wstrict-prototypes -Wdeclaration-after-statement -Wno-pointer-sign
-COMMON_WARN = -Wall -Wundef -Werror-implicit-function-declaration \
+C_WARN += -Werror-implicit-function-declaration
+COMMON_WARN = -Wall -Wundef \
-Wno-trigraphs -Wno-format-security -Wno-address-of-packed-member \
-fno-common -fno-strict-aliasing -fno-strict-overflow
# See https://www.chromium.org/chromium-os/build/c-exception-support