Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d868cad8 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

Add -Werror=format-security

Security hardening: don't allow code to compile which
uses format strings in an inappropriate way.  Make format
string compiler warnings into errors.

Change-Id: I1461dad589a2416420fd84ccf765983e859eea8a
parent 57b44e52
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ TARGET_GLOBAL_CFLAGS += \
			-funwind-tables \
			-fstack-protector \
			-Wa,--noexecstack \
			-Werror=format-security \
			-fno-short-enums \
			$(arch_variant_cflags) \
			-include $(android_config_h) \