From 9278d180725cdf444dd65c580d1382ea26de64d0 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 22 Aug 2015 11:07:34 +0200 Subject: 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 dee22da..8a752a5 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -89,7 +89,7 @@ LOCAL_SHARED_LIBRARIES += libdrm 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 -- cgit v1.1