diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index 2ebb887095..c17a8ef3a2 100644 --- a/core/combo/TARGET_linux-x86.mk +++ b/core/combo/TARGET_linux-x86.mk @@ -84,18 +84,15 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \ -Werror=format-security \ -D_FORTIFY_SOURCE=2 \ -Wstrict-aliasing=2 \ - -fPIC \ -ffunction-sections \ -finline-functions \ -finline-limit=300 \ - -fno-inline-functions-called-once \ -fno-short-enums \ -fstrict-aliasing \ -funswitch-loops \ -funwind-tables \ -fstack-protector \ -m32 \ - -msse2 \ -no-canonical-prefixes \ -fno-canonical-system-headers \ -include $(android_config_h) \ diff --git a/core/combo/TARGET_linux-x86_64.mk b/core/combo/TARGET_linux-x86_64.mk index cd9ea76e23..905dfff346 100644 --- a/core/combo/TARGET_linux-x86_64.mk +++ b/core/combo/TARGET_linux-x86_64.mk @@ -82,11 +82,9 @@ TARGET_GLOBAL_CFLAGS += \ -Werror=format-security \ -D_FORTIFY_SOURCE=2 \ -Wstrict-aliasing=2 \ - -fPIC \ -ffunction-sections \ -finline-functions \ -finline-limit=300 \ - -fno-inline-functions-called-once \ -fno-short-enums \ -fstrict-aliasing \ -funswitch-loops \