summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-06-07 16:47:25 -0700
committerEric Anholt <[email protected]>2015-06-15 10:32:23 -0700
commit71aaf62fca3ed8b18fc2dcd69be0fd6bb7e58a91 (patch)
treeb032881a2e762b4b4df948385bb5706f2ed92ba6 /src/egl
parent8e9eec5cbf73bf977bc7e808a4e653737ee94c38 (diff)
egl/dri2: Fix Android Lollipop build on ARM.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/dri2/Android.mk1
1 files changed, 1 insertions, 0 deletions
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