aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/i915/Android.mk2
-rw-r--r--src/gallium/drivers/nvfx/Android.mk1
-rw-r--r--src/gallium/drivers/r300/Android.mk2
-rw-r--r--src/gallium/drivers/r600/Android.mk2
-rw-r--r--src/mesa/Android.mk2
-rw-r--r--src/mesa/drivers/dri/i915/Android.mk4
-rw-r--r--src/mesa/drivers/dri/i965/Android.mk4
7 files changed, 2 insertions, 15 deletions
diff --git a/src/gallium/drivers/i915/Android.mk b/src/gallium/drivers/i915/Android.mk
index 780ace5c530..fece3053e37 100644
--- a/src/gallium/drivers/i915/Android.mk
+++ b/src/gallium/drivers/i915/Android.mk
@@ -30,8 +30,6 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_CFLAGS := -std=c99
-
LOCAL_MODULE := libmesa_pipe_i915
include $(GALLIUM_COMMON_MK)
diff --git a/src/gallium/drivers/nvfx/Android.mk b/src/gallium/drivers/nvfx/Android.mk
index 6dee1116f9b..219b044d448 100644
--- a/src/gallium/drivers/nvfx/Android.mk
+++ b/src/gallium/drivers/nvfx/Android.mk
@@ -29,7 +29,6 @@ include $(LOCAL_PATH)/Makefile.sources
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_CFLAGS := -std=c99
LOCAL_C_INCLUDES := $(DRM_TOP)
LOCAL_MODULE := libmesa_pipe_nvfx
diff --git a/src/gallium/drivers/r300/Android.mk b/src/gallium/drivers/r300/Android.mk
index fe3c2bd2611..ff27ef6b24d 100644
--- a/src/gallium/drivers/r300/Android.mk
+++ b/src/gallium/drivers/r300/Android.mk
@@ -30,8 +30,6 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_CFLAGS := -std=c99
-
LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/mapi \
$(MESA_TOP)/src/glsl \
diff --git a/src/gallium/drivers/r600/Android.mk b/src/gallium/drivers/r600/Android.mk
index f060920d5d7..e5188bb628e 100644
--- a/src/gallium/drivers/r600/Android.mk
+++ b/src/gallium/drivers/r600/Android.mk
@@ -30,8 +30,6 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_CFLAGS := -std=c99
-
LOCAL_C_INCLUDES :=
LOCAL_MODULE := libmesa_pipe_r600
diff --git a/src/mesa/Android.mk b/src/mesa/Android.mk
index f21ba3aa0d6..f6c0f4e33d2 100644
--- a/src/mesa/Android.mk
+++ b/src/mesa/Android.mk
@@ -56,6 +56,7 @@ LOCAL_SRC_FILES := x86/gen_matypes.c
LOCAL_CFLAGS := $(common_CFLAGS)
LOCAL_C_INCLUDES := $(common_C_INCLUDES)
LOCAL_MODULE := mesa_gen_matypes
+LOCAL_IS_HOST_MODULE := true
include $(MESA_COMMON_MK)
include $(BUILD_HOST_EXECUTABLE)
@@ -145,6 +146,7 @@ LOCAL_SRC_FILES := \
program/symbol_table.c
LOCAL_MODULE := libmesa_glsl_utils
+LOCAL_IS_HOST_MODULE := true
include $(MESA_COMMON_MK)
include $(BUILD_HOST_STATIC_LIBRARY)
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
diff --git a/src/mesa/drivers/dri/i965/Android.mk b/src/mesa/drivers/dri/i965/Android.mk
index 3f49c8b1761..ec4a7613099 100644
--- a/src/mesa/drivers/dri/i965/Android.mk
+++ b/src/mesa/drivers/dri/i965/Android.mk
@@ -32,10 +32,6 @@ LOCAL_UNSTRIPPED_PATH := $(MESA_DRI_MODULE_UNSTRIPPED_PATH)
# Import variables i965_*.
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)