summaryrefslogtreecommitdiffstats
path: root/Android.common.mk
diff options
context:
space:
mode:
authorMauro Rossi <issor.oruam@gmail.com>2015-08-22 11:07:34 +0200
committerMauro Rossi <issor.oruam@gmail.com>2016-11-01 20:41:58 +0100
commit9278d180725cdf444dd65c580d1382ea26de64d0 (patch)
treec196752bbda72d08f8f26938f11fa2df79dfb4cc /Android.common.mk
parent1dd244b7314e4803ecb3628e6501c6b24160b327 (diff)
downloadexternal_mesa3d-9278d180725cdf444dd65c580d1382ea26de64d0.zip
external_mesa3d-9278d180725cdf444dd65c580d1382ea26de64d0.tar.gz
external_mesa3d-9278d180725cdf444dd65c580d1382ea26de64d0.tar.bz2
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 <cwhuang@linux.org.tw>
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk2
1 files changed, 1 insertions, 1 deletions
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