diff options
author | Chao Yang <chao.yang@linaro.org> | 2011-08-19 09:50:37 +0100 |
---|---|---|
committer | Chao Yang <chao.yang@linaro.org> | 2011-08-21 09:19:57 +0100 |
commit | 6e85b706e2bfe45c2d1a2319f9f633fcd5a86c05 (patch) | |
tree | 7a70444b24a172569265da2e027b62bb1a51bd7e | |
parent | 4ba01fe2fbfe53c0347ccd37777eccf8818f6209 (diff) | |
download | build-linaro_android_2.3.4.tar.gz |
Enable gcc O3 for both arm and thumb fileslinaro_android_2.3.4
Change-Id: I54ac29d8bf3fbee10e28fc817a604fab993490c5
-rw-r--r-- | core/combo/TARGET_linux-arm.mk | 4 | ||||
-rw-r--r-- | core/combo/select.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk index 50c5a6e95c..54bb974a1a 100644 --- a/core/combo/TARGET_linux-arm.mk +++ b/core/combo/TARGET_linux-arm.mk @@ -55,7 +55,7 @@ TARGET_LD := $(TARGET_TOOLS_PREFIX)ld$(HOST_EXECUTABLE_SUFFIX) TARGET_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined -TARGET_arm_CFLAGS := -O2 \ +TARGET_arm_CFLAGS := -O3 \ -fomit-frame-pointer \ -fstrict-aliasing \ -funswitch-loops \ @@ -67,7 +67,7 @@ TARGET_arm_CFLAGS := -O2 \ # compiled as ARM. ifeq ($(ARCH_ARM_HAVE_THUMB_SUPPORT),true) TARGET_thumb_CFLAGS := -mthumb \ - -Os \ + -O3 \ -fomit-frame-pointer \ -fno-strict-aliasing \ -finline-limit=64 diff --git a/core/combo/select.mk b/core/combo/select.mk index 797c573972..d685646bb6 100644 --- a/core/combo/select.mk +++ b/core/combo/select.mk @@ -46,7 +46,7 @@ $(combo_target)HAVE_STRLCAT := 0 $(combo_target)HAVE_KERNEL_MODULES := 0 $(combo_target)GLOBAL_CFLAGS := -fno-exceptions -Wno-multichar -$(combo_target)RELEASE_CFLAGS := -O2 -g -fno-strict-aliasing +$(combo_target)RELEASE_CFLAGS := -O3 -g -fno-strict-aliasing $(combo_target)GLOBAL_LDFLAGS := $(combo_target)GLOBAL_ARFLAGS := crsP |