Make OSS errors match the internal errors.
Bug: http://b/161002902
diff --git a/tensorflow/lite/micro/tools/make/Makefile b/tensorflow/lite/micro/tools/make/Makefile
index b398582..cbcf48a 100644
--- a/tensorflow/lite/micro/tools/make/Makefile
+++ b/tensorflow/lite/micro/tools/make/Makefile
@@ -116,7 +116,6 @@
OPTIMIZATION_LEVEL := -O3
CC_WARNINGS := \
- -Werror \
-Wsign-compare \
-Wdouble-promotion \
-Wshadow \
@@ -131,6 +130,7 @@
-Wno-unused-parameter
COMMON_FLAGS := \
+ -Werror \
-fno-unwind-tables \
-ffunction-sections \
-fdata-sections \
@@ -155,6 +155,7 @@
$(COMMON_FLAGS)
CCFLAGS := \
+ -Wimplicit-function-declaration \
-std=c11 \
$(COMMON_FLAGS)