am 042723c0: Merge "x86/mips: enable _FORTIFY_SOURCE=2"

* commit '042723c0151980fee315678736751f7385977d90':
  x86/mips: enable _FORTIFY_SOURCE=2
This commit is contained in:
Nick Kralevich
2013-04-29 14:12:50 -07:00
committed by Android Git Automerger
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ TARGET_GLOBAL_CFLAGS += \
-funwind-tables \
-Wa,--noexecstack \
-Werror=format-security \
-D_FORTIFY_SOURCE=1 \
-D_FORTIFY_SOURCE=2 \
$(arch_variant_cflags)
android_config_h := $(call select-android-config-h,linux-mips)

View File

@@ -90,7 +90,7 @@ TARGET_GLOBAL_CFLAGS += \
-Ulinux \
-Wa,--noexecstack \
-Werror=format-security \
-D_FORTIFY_SOURCE=1 \
-D_FORTIFY_SOURCE=2 \
-Wstrict-aliasing=2 \
-fPIC -fPIE \
-ffunction-sections \