summaryrefslogtreecommitdiffstats
path: root/build/Android.common.mk
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-08-15 14:24:29 -0700
committerIan Rogers <irogers@google.com>2013-08-15 15:06:27 -0700
commit8d11af55067676eba0e210f05f340784f541c4c7 (patch)
treec00a94b422ad966d5e8d9d3d30d13150154675a9 /build/Android.common.mk
parentfbb0ba491042a7f8fb38f51b2f0538ca8fd074a6 (diff)
downloadart-8d11af55067676eba0e210f05f340784f541c4c7.zip
art-8d11af55067676eba0e210f05f340784f541c4c7.tar.gz
art-8d11af55067676eba0e210f05f340784f541c4c7.tar.bz2
Switch GCC -O flags, O3 non-debug, 01 debug.
Remove -fno-inline. Fix a missing #include. Change-Id: Idf87a14e39cc127749d4db41fb0e75c899f5d029
Diffstat (limited to 'build/Android.common.mk')
-rw-r--r--build/Android.common.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 786b1de..ac1be1e 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -109,7 +109,6 @@ ART_C_INCLUDES := \
art_cflags := \
-fno-rtti \
- -O2 \
-std=gnu++11 \
-ggdb3 \
-Wall \
@@ -131,8 +130,11 @@ ifeq ($(HOST_OS),linux)
-Wframe-larger-than=1728
endif
+art_non_debug_cflags := \
+ -O3
+
art_debug_cflags := \
- -fno-inline \
+ -O1 \
-DDYNAMIC_ANNOTATIONS_ENABLED=1 \
-UNDEBUG