diff --git a/Makefile b/Makefile index 03105d700..6d7865a82 100644 --- a/Makefile +++ b/Makefile @@ -374,6 +374,8 @@ WARNING2 += -Wmissing-prototypes WARNING2 += -Wmissing-format-attribute # TF-A aims to comply with this eventually. Effort too large at present WARNING2 += -Wundef +# currently very involved and many platforms set this off +WARNING2 += -Wunused-const-variable=2 # Level 3 - very pedantic, frequently ignored WARNING3 := -Wbad-function-cast