android: build with libcxx on android lollipop

On Lollipop, apparently stlport is gone and libcxx must be used instead.
We still support stlport when building on earlier android releases.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Chih-Wei Huang
2015-05-20 11:25:39 +08:00
committed by Eric Anholt
parent 1842832660
commit c5e11e5f7f
5 changed files with 11 additions and 2 deletions

View File

@@ -77,6 +77,7 @@ LOCAL_CFLAGS += \
endif
LOCAL_CPPFLAGS += \
$(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-D_USING_LIBCXX) \
-Wno-error=non-virtual-dtor \
-Wno-non-virtual-dtor