diff options
| -rw-r--r-- | config.mk | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -211,6 +211,10 @@ CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes  endif  CFLAGS += $(call cc-option,-fno-stack-protector) +# Some toolchains enable security related warning flags by default, +# but they don't make much sense in the u-boot world, so disable them. +CFLAGS += $(call cc-option,-Wno-format-nonliteral) +CFLAGS += $(call cc-option,-Wno-format-security)  # $(CPPFLAGS) sets -g, which causes gcc to pass a suitable -g<format>  # option to the assembler. |