diff options
author | Chia-I Wu <[email protected]> | 2011-08-31 12:31:59 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-09-01 10:53:30 +0800 |
commit | 05fdb44dd7f2f4500e3d159df6519a644b5f09bc (patch) | |
tree | caacdb83eb2f8f221a83e0a94adfce9b16f5a63f /src/mesa/drivers/dri/Android.mk | |
parent | 488fe51cf823ccd137c667f1e92dd86f8323b723 (diff) |
i965: fix Android build
Use $(TARGET_CC) instead of $(CC). Correctly name and set LOCAL_CFLAGS.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/Android.mk')
-rw-r--r-- | src/mesa/drivers/dri/Android.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/Android.mk b/src/mesa/drivers/dri/Android.mk index b8ccd0c1b21..67f656b78a0 100644 --- a/src/mesa/drivers/dri/Android.mk +++ b/src/mesa/drivers/dri/Android.mk @@ -31,6 +31,11 @@ include $(LOCAL_PATH)/common/Makefile.sources MESA_DRI_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/dri MESA_DRI_MODULE_UNSTRIPPED_PATH := $(TARGET_OUT_SHARED_LIBRARIES_UNSTRIPPED)/dri +MESA_DRI_CFLAGS := \ + -DFEATURE_GL=1 \ + -DFEATURE_ES1=1 \ + -DFEATURE_ES2=1 + MESA_DRI_C_INCLUDES := \ $(addprefix $(MESA_TOP)/, $(mesa_dri_common_INCLUDES)) \ $(DRM_TOP) \ |