* commit '3d660f2a7c8a69a33825cb05ffe8667c99138000': x86/mips: enable _FORTIFY_SOURCE=2
This commit is contained in:
commit
633b992042
2 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ TARGET_GLOBAL_CFLAGS += \
|
||||||
-funwind-tables \
|
-funwind-tables \
|
||||||
-Wa,--noexecstack \
|
-Wa,--noexecstack \
|
||||||
-Werror=format-security \
|
-Werror=format-security \
|
||||||
-D_FORTIFY_SOURCE=1 \
|
-D_FORTIFY_SOURCE=2 \
|
||||||
$(arch_variant_cflags)
|
$(arch_variant_cflags)
|
||||||
|
|
||||||
android_config_h := $(call select-android-config-h,linux-mips)
|
android_config_h := $(call select-android-config-h,linux-mips)
|
||||||
|
|
|
@ -90,7 +90,7 @@ TARGET_GLOBAL_CFLAGS += \
|
||||||
-Ulinux \
|
-Ulinux \
|
||||||
-Wa,--noexecstack \
|
-Wa,--noexecstack \
|
||||||
-Werror=format-security \
|
-Werror=format-security \
|
||||||
-D_FORTIFY_SOURCE=1 \
|
-D_FORTIFY_SOURCE=2 \
|
||||||
-Wstrict-aliasing=2 \
|
-Wstrict-aliasing=2 \
|
||||||
-fPIC -fPIE \
|
-fPIC -fPIE \
|
||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
|
|
Loading…
Reference in a new issue