summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-11-26 11:20:05 +0800
committerChia-I Wu <[email protected]>2011-11-26 11:42:08 +0800
commitd2cd621086fdf620a96d599bac0873ff58ddf137 (patch)
tree125fdc97a1ae29408d82936bd7356109545c350e /src/mesa/drivers/dri/i915
parent4d3d6f76ff165ca92544432ca512c9652cab9110 (diff)
android: pass -std=c99 by default
Several modules expect a C99 compiler already. It is also the default for Makefile build.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/Android.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915/Android.mk b/src/mesa/drivers/dri/i915/Android.mk
index 21b3450b84f..b615e9b753d 100644
--- a/src/mesa/drivers/dri/i915/Android.mk
+++ b/src/mesa/drivers/dri/i915/Android.mk
@@ -32,10 +32,6 @@ LOCAL_UNSTRIPPED_PATH := $(MESA_DRI_MODULE_UNSTRIPPED_PATH)
# Import variables i915_*.
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 := $(TARGET_CC) -std=c99
-
LOCAL_CFLAGS := \
$(MESA_DRI_CFLAGS) \
-DI915