forked from openkylin/platform_build
Merge "Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:"
This commit is contained in:
commit
48505328c8
|
@ -84,18 +84,15 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \
|
||||||
-Werror=format-security \
|
-Werror=format-security \
|
||||||
-D_FORTIFY_SOURCE=2 \
|
-D_FORTIFY_SOURCE=2 \
|
||||||
-Wstrict-aliasing=2 \
|
-Wstrict-aliasing=2 \
|
||||||
-fPIC \
|
|
||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
-finline-functions \
|
-finline-functions \
|
||||||
-finline-limit=300 \
|
-finline-limit=300 \
|
||||||
-fno-inline-functions-called-once \
|
|
||||||
-fno-short-enums \
|
-fno-short-enums \
|
||||||
-fstrict-aliasing \
|
-fstrict-aliasing \
|
||||||
-funswitch-loops \
|
-funswitch-loops \
|
||||||
-funwind-tables \
|
-funwind-tables \
|
||||||
-fstack-protector \
|
-fstack-protector \
|
||||||
-m32 \
|
-m32 \
|
||||||
-msse2 \
|
|
||||||
-no-canonical-prefixes \
|
-no-canonical-prefixes \
|
||||||
-fno-canonical-system-headers \
|
-fno-canonical-system-headers \
|
||||||
-include $(android_config_h) \
|
-include $(android_config_h) \
|
||||||
|
|
|
@ -82,11 +82,9 @@ TARGET_GLOBAL_CFLAGS += \
|
||||||
-Werror=format-security \
|
-Werror=format-security \
|
||||||
-D_FORTIFY_SOURCE=2 \
|
-D_FORTIFY_SOURCE=2 \
|
||||||
-Wstrict-aliasing=2 \
|
-Wstrict-aliasing=2 \
|
||||||
-fPIC \
|
|
||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
-finline-functions \
|
-finline-functions \
|
||||||
-finline-limit=300 \
|
-finline-limit=300 \
|
||||||
-fno-inline-functions-called-once \
|
|
||||||
-fno-short-enums \
|
-fno-short-enums \
|
||||||
-fstrict-aliasing \
|
-fstrict-aliasing \
|
||||||
-funswitch-loops \
|
-funswitch-loops \
|
||||||
|
|
Loading…
Reference in New Issue