ART: Remove -std=gnu++11
We no longer have to restrict ourselves, with GCC gone. Pick up
the default from the build system (which is at least as good).
Change-Id: I98b4a82944b7e16a80fbeac1d43c9e7ed0d17a6a
Test: m test-art-host
diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk
index c8e3654..b5d41d9 100644
--- a/build/Android.common_build.mk
+++ b/build/Android.common_build.mk
@@ -136,7 +136,6 @@
# Base set of cflags used by all things ART.
art_cflags += \
-fno-rtti \
- -std=gnu++11 \
-ggdb3 \
-Wall \
-Werror \
diff --git a/dalvikvm/Android.mk b/dalvikvm/Android.mk
index 71e9a28..6c0bcb1 100644
--- a/dalvikvm/Android.mk
+++ b/dalvikvm/Android.mk
@@ -18,7 +18,7 @@
include art/build/Android.common.mk
-dalvikvm_cflags := -Wall -Werror -Wextra -std=gnu++11
+dalvikvm_cflags := -Wall -Werror -Wextra
include $(CLEAR_VARS)
LOCAL_MODULE := dalvikvm