From 65d33118db18fa0745ded1d98667778a26349ce2 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 22 Aug 2015 11:07:34 +0200 Subject: [PATCH] android: build with c++11 on android lollipop lollipop-x86 needs -std=c++11 (build with libcxx), while kitkat-x86 cannot use -std=c++11 Signed-off-by: Chih-Wei Huang --- Android.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.common.mk b/Android.common.mk index 46e4e645851..ec75b07eb73 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -105,7 +105,7 @@ endif endif LOCAL_CPPFLAGS += \ - $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-D_USING_LIBCXX) \ + $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-std=c++11) \ -Wno-error=non-virtual-dtor \ -Wno-non-virtual-dtor -- 2.11.0