diff options
author | dbroqua <dbroqua@mousur.org> | 2017-04-29 15:04:01 +0200 |
---|---|---|
committer | dbroqua <dbroqua@mousur.org> | 2017-04-29 15:04:01 +0200 |
commit | 7180e195e84aabf252fcadb2852644417ac1d663 (patch) | |
tree | 2a314ac51bf1399c09a394e76ba81a56c072e7d6 /tmk_core/rules.mk | |
parent | 838aae164568a1092ae269267f8d8772d3aba781 (diff) | |
parent | 584b804ee33d53102fef3b8cdd045bca4c47bf26 (diff) | |
download | qmk_firmware-7180e195e84aabf252fcadb2852644417ac1d663.tar.gz qmk_firmware-7180e195e84aabf252fcadb2852644417ac1d663.zip |
Merge branch 'master' of https://github.com/Dbroqua/qmk_firmware
Diffstat (limited to 'tmk_core/rules.mk')
-rw-r--r-- | tmk_core/rules.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk index e4c8aecb2c..b7cb0a559a 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk @@ -92,6 +92,9 @@ endif endif CFLAGS += -Wall CFLAGS += -Wstrict-prototypes +ifneq ($(strip $(ALLOW_WARNINGS)), yes) + CFLAGS += -Werror +endif #CFLAGS += -mshort-calls #CFLAGS += -fno-unit-at-a-time #CFLAGS += -Wundef @@ -115,6 +118,9 @@ CPPFLAGS += -O$(OPT) CPPFLAGS += -w CPPFLAGS += -Wall CPPFLAGS += -Wundef +ifneq ($(strip $(ALLOW_WARNINGS)), yes) + CPPFLAGS += -Werror +endif #CPPFLAGS += -mshort-calls #CPPFLAGS += -fno-unit-at-a-time #CPPFLAGS += -Wstrict-prototypes |