summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tmk_core/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index e4c8aecb2c..25993354f2 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -92,6 +92,7 @@ endif
endif
CFLAGS += -Wall
CFLAGS += -Wstrict-prototypes
+CFLAGS += -Werror
#CFLAGS += -mshort-calls
#CFLAGS += -fno-unit-at-a-time
#CFLAGS += -Wundef
@@ -115,6 +116,7 @@ CPPFLAGS += -O$(OPT)
CPPFLAGS += -w
CPPFLAGS += -Wall
CPPFLAGS += -Wundef
+CPPFLAGS += -Werror
#CPPFLAGS += -mshort-calls
#CPPFLAGS += -fno-unit-at-a-time
#CPPFLAGS += -Wstrict-prototypes