egl/dri2: Fix Android Lollipop build on ARM.
authorEric Anholt <eric@anholt.net>
Sun, 7 Jun 2015 23:47:25 +0000 (16:47 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 15 Jun 2015 17:32:23 +0000 (10:32 -0700)
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/drivers/dri2/Android.mk

index d4d809bc3de96f6662447c7ec3cca984386bf945..109e4d4a0d84855b4ebb5f9b6a2966e50de3fc59 100644 (file)
@@ -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