arm: upgrade to _FORTIFY_SOURCE=2

Enable _FORTIFY_SOURCE=2 for ARM.

Currently, this change is a no-op, as Android's libc doesn't
support _FORTIFY_SOURCE > 1, yet.

Change-Id: Ib4c8e44e6949a37352c153e3c52a4fa001f18738
This commit is contained in:
Nick Kralevich 2013-04-25 16:49:10 -07:00
parent f7e5c42408
commit 316f720b91
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ TARGET_GLOBAL_CFLAGS += \
-fstack-protector \
-Wa,--noexecstack \
-Werror=format-security \
-D_FORTIFY_SOURCE=1 \
-D_FORTIFY_SOURCE=2 \
-fno-short-enums \
$(arch_variant_cflags)