summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-08-23 17:40:39 +0200
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2012-11-14 08:59:46 +0100
commit7d3bcc79db4a88ba2ce431a298f1370875d1ba2c (patch)
treeae5db4ade4279b0d73f94b8faed5153de5ceba14
parent9fb97b6d636722f62e92b833b8af295bf476cd1c (diff)
downloaddalvik-7d3bcc79db4a88ba2ce431a298f1370875d1ba2c.tar.gz
dalvik/libdex: Don't reduce optimization level to -O2
Don't reduce optimization level to -O2: It's sufficient to disable function inlining Change-Id: Ie6d9978cf0bf0e49cfa296c09c4eba913f22c303 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--libdex/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdex/Android.mk b/libdex/Android.mk
index f47279818..cbe043cfa 100644
--- a/libdex/Android.mk
+++ b/libdex/Android.mk
@@ -51,7 +51,7 @@ include $(CLEAR_VARS)
#LOCAL_CFLAGS += -UNDEBUG -DDEBUG=1
ifneq ($(findstring -O3, $(TARGET_GLOBAL_CFLAGS)),)
# Workaround for https://bugs.launchpad.net/linaro-android/+bug/948255
-LOCAL_CFLAGS += -O2
+LOCAL_CFLAGS += -fno-inline-functions
endif
LOCAL_SRC_FILES := $(dex_src_files)
LOCAL_C_INCLUDES += $(dex_include_files)