Merge "x86/mips: enable _FORTIFY_SOURCE=2"
This commit is contained in:
@@ -93,7 +93,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)
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user