summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/Android.mk')
-rw-r--r--src/mesa/drivers/dri/i965/Android.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/Android.mk b/src/mesa/drivers/dri/i965/Android.mk
index 2a289ddcd96..3f49c8b1761 100644
--- a/src/mesa/drivers/dri/i965/Android.mk
+++ b/src/mesa/drivers/dri/i965/Android.mk
@@ -34,11 +34,10 @@ include $(LOCAL_PATH)/Makefile.sources
# Overriding LOCAL_CC below is an ugly workaround. We cannot place -std=c99
# in LOCAL_C_FLAGS because Android appends LOCAL_C_FLAGS to LOCAL_CPP_FLAGS.
-LOCAL_CC := $(CC) -std=c99
+LOCAL_CC := $(TARGET_CC) -std=c99
-LOCAL_C_FLAGS := \
- $(MESA_DRI_C_FLAGS) \
- -DI965
+LOCAL_CFLAGS := \
+ $(MESA_DRI_CFLAGS)
LOCAL_C_INCLUDES := \
$(i965_INCLUDES) \