Added C++11 flag to RS support.

Change-Id: I0d3a0da0407e52ef3b318934024dbc343d476751
diff --git a/v8/renderscript/Android.mk b/v8/renderscript/Android.mk
index d8f3ce5..3d1dfdf 100644
--- a/v8/renderscript/Android.mk
+++ b/v8/renderscript/Android.mk
@@ -21,6 +21,8 @@
 
 include $(CLEAR_VARS)
 
+LOCAL_CFLAGS += -std=c++11
+
 LOCAL_MODULE := android-support-v8-renderscript
 #LOCAL_SDK_VERSION := 17
 LOCAL_SRC_FILES := $(call all-java-files-under, java/src)
diff --git a/v8/renderscript/rs_support/Android.mk b/v8/renderscript/rs_support/Android.mk
index df236ec..c43b767 100644
--- a/v8/renderscript/rs_support/Android.mk
+++ b/v8/renderscript/rs_support/Android.mk
@@ -1,7 +1,7 @@
 
 LOCAL_PATH:=frameworks/rs
 rs_base_CFLAGS := -Werror -Wall -Wno-unused-parameter -Wno-unused-variable \
-		  -Wno-overloaded-virtual -DRS_COMPATIBILITY_LIB
+		  -Wno-overloaded-virtual -DRS_COMPATIBILITY_LIB -std=c++11
 
 ifeq ($(ARCH_ARM_HAVE_NEON),true)
 rs_base_CFLAGS += -DARCH_ARM_HAVE_NEON