diff options
-rw-r--r-- | Android.common.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk index dee22dae09..9f64c220f8 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -82,11 +82,13 @@ LOCAL_CFLAGS += \ -D__STDC_LIMIT_MACROS endif +ifneq ($(LOCAL_IS_HOST_MODULE),true) # add libdrm if there are hardware drivers ifneq ($(filter-out swrast,$(MESA_GPU_DRIVERS)),) LOCAL_CFLAGS += -DHAVE_LIBDRM LOCAL_SHARED_LIBRARIES += libdrm endif +endif LOCAL_CPPFLAGS += \ $(if $(filter true,$(MESA_LOLLIPOP_BUILD)),-D_USING_LIBCXX) \ |