forked from openkylin/platform_build
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
This commit is contained in:
parent
57b44e5287
commit
d868cad828
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue