OSDN Git Service

ART: Remove -std=gnu++11
authorAndreas Gampe <agampe@google.com>
Wed, 24 Aug 2016 03:24:11 +0000 (20:24 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 24 Aug 2016 03:24:11 +0000 (20:24 -0700)
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

build/Android.common_build.mk
dalvikvm/Android.mk

index c8e3654..b5d41d9 100644 (file)
@@ -136,7 +136,6 @@ endif
 # Base set of cflags used by all things ART.
 art_cflags += \
   -fno-rtti \
-  -std=gnu++11 \
   -ggdb3 \
   -Wall \
   -Werror \
index 71e9a28..6c0bcb1 100644 (file)
@@ -18,7 +18,7 @@ LOCAL_PATH := $(call my-dir)
 
 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