summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/Makefile.extrawarn
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/scripts/Makefile.extrawarn')
-rw-r--r--kernel/scripts/Makefile.extrawarn1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/scripts/Makefile.extrawarn b/kernel/scripts/Makefile.extrawarn
index 4efedcbe4..da3386a9d 100644
--- a/kernel/scripts/Makefile.extrawarn
+++ b/kernel/scripts/Makefile.extrawarn
@@ -24,6 +24,7 @@ warning-1 += $(call cc-option, -Wmissing-prototypes)
warning-1 += -Wold-style-definition
warning-1 += $(call cc-option, -Wmissing-include-dirs)
warning-1 += $(call cc-option, -Wunused-but-set-variable)
+warning-1 += $(call cc-option, -Wunused-const-variable)
warning-1 += $(call cc-disable-warning, missing-field-initializers)
warning-2 := -Waggregate-return