summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/winsys/kmsro/drm/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/kmsro/drm/Android.mk b/src/gallium/winsys/kmsro/drm/Android.mk
index 13600fd2fd2..439d2cc0ea8 100644
--- a/src/gallium/winsys/kmsro/drm/Android.mk
+++ b/src/gallium/winsys/kmsro/drm/Android.mk
@@ -29,5 +29,7 @@ LOCAL_SRC_FILES := $(C_SOURCES)
LOCAL_MODULE := libmesa_winsys_kmsro
+$(foreach d, $(MESA_BUILD_GALLIUM), $(eval LOCAL_CFLAGS += $(patsubst HAVE_%,-D%,$(d))))
+
include $(GALLIUM_COMMON_MK)
include $(BUILD_STATIC_LIBRARY)