From 71aaf62fca3ed8b18fc2dcd69be0fd6bb7e58a91 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sun, 7 Jun 2015 16:47:25 -0700 Subject: [PATCH] egl/dri2: Fix Android Lollipop build on ARM. Reviewed-by: Emil Velikov --- src/egl/drivers/dri2/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl/drivers/dri2/Android.mk b/src/egl/drivers/dri2/Android.mk index d4d809bc3de..109e4d4a0d8 100644 --- a/src/egl/drivers/dri2/Android.mk +++ b/src/egl/drivers/dri2/Android.mk @@ -36,6 +36,7 @@ LOCAL_CFLAGS := \ -DHAVE_ANDROID_PLATFORM ifeq ($(MESA_LOLLIPOP_BUILD),true) +LOCAL_CFLAGS_arm := -DDEFAULT_DRIVER_DIR=\"/system/lib/dri\" LOCAL_CFLAGS_x86 := -DDEFAULT_DRIVER_DIR=\"/system/lib/dri\" LOCAL_CFLAGS_x86_64 := -DDEFAULT_DRIVER_DIR=\"/system/lib64/dri\" else -- 2.30.2