From: Eric Anholt Date: Sun, 7 Jun 2015 23:47:25 +0000 (-0700) Subject: egl/dri2: Fix Android Lollipop build on ARM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71aaf62fca3ed8b18fc2dcd69be0fd6bb7e58a91;p=mesa.git egl/dri2: Fix Android Lollipop build on ARM. Reviewed-by: Emil Velikov --- 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