diff options
author | Mathieu Chartier <mathieuc@google.com> | 2013-08-12 17:41:54 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2013-08-13 14:21:12 -0700 |
commit | 9b3c3cdb62f7142384e6bf2c0cb6e3a76b16f0e3 (patch) | |
tree | ee468053902f5d58bd0037000bc7031ea77175b2 /build | |
parent | 7b67bee4f6ca4e634f35f63d1e08e1b05f138e01 (diff) | |
download | art-9b3c3cdb62f7142384e6bf2c0cb6e3a76b16f0e3.zip art-9b3c3cdb62f7142384e6bf2c0cb6e3a76b16f0e3.tar.gz art-9b3c3cdb62f7142384e6bf2c0cb6e3a76b16f0e3.tar.bz2 |
C++11 support for ART.
We can now use auto, ranged based loops, etc..
This compiles, the phone boots, and the tests pass.
Depends on:
https://googleplex-android-review.googlesource.com/#/c/342487/
Change-Id: I8ba8ed47d2118e4711668c9c8f973a67beb261b2
Diffstat (limited to 'build')
-rw-r--r-- | build/Android.common.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build/Android.common.mk b/build/Android.common.mk index 8209725..786b1de 100644 --- a/build/Android.common.mk +++ b/build/Android.common.mk @@ -110,6 +110,7 @@ ART_C_INCLUDES := \ art_cflags := \ -fno-rtti \ -O2 \ + -std=gnu++11 \ -ggdb3 \ -Wall \ -Werror \ @@ -125,9 +126,6 @@ ifeq ($(ART_SEA_IR_MODE),true) art_cflags += -DART_SEA_IR_MODE=1 endif -# TODO: enable -std=gnu++0x for auto support when on Ubuntu 12.04 LTS (Precise Pangolin) -# On 10.04 LTS (Lucid Lynx), it can cause dependencies on GLIBCXX_3.4.14 version symbols. - ifeq ($(HOST_OS),linux) art_non_debug_cflags := \ -Wframe-larger-than=1728 |