diff options
author | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2014-09-09 17:24:27 +0400 |
---|---|---|
committer | Alexander Ivchenko <alexander.ivchenko@intel.com> | 2014-09-09 17:27:32 +0400 |
commit | 388dce3192b6cecf7424e9d745c3147cc7335c24 (patch) | |
tree | 5cf2deecaf8022188efb155f79828ae173f1db42 /core | |
parent | 53e9502704bb492e0c387a21098f772f2aa60da9 (diff) | |
download | build-388dce3192b6cecf7424e9d745c3147cc7335c24.zip build-388dce3192b6cecf7424e9d745c3147cc7335c24.tar.gz build-388dce3192b6cecf7424e9d745c3147cc7335c24.tar.bz2 |
Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:
Remove -msse2 for x86 (-mssse3 should be provided by the compiler).
Remove -fPIC (compiler provides by default).
Remove -fno-inline-functions-called-once.
Change-Id: Ibb29934224c4eedfff926dc72c3b6342c1861ac9
Diffstat (limited to 'core')
-rw-r--r-- | core/combo/TARGET_linux-x86.mk | 3 | ||||
-rw-r--r-- | core/combo/TARGET_linux-x86_64.mk | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index 2ebb887..c17a8ef 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 cd9ea76..905dfff 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 \ |