summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 418a48037..607621d2c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -562,6 +562,8 @@ endif
WARNING_FLAGS = -Wstrict-prototypes -Wstrict-aliasing
ifeq ($(EXTRA_WARNINGS),y)
WARNING_FLAGS += \
+ -Wno-nonnull-compare \
+ -Wnodeclaration-after-statement \
-Wformat=2 \
-Wmissing-noreturn \
-Wmissing-format-attribute \
@@ -571,7 +573,6 @@ WARNING_FLAGS += \
-Wnonnull \
-Wold-style-declaration \
-Wold-style-definition \
- -Wdeclaration-after-statement \
-Wshadow \
-Wundef
endif