aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChih-Wei Huang <[email protected]>2015-04-04 05:01:21 +0800
committerEmil Velikov <[email protected]>2015-04-22 15:53:35 +0100
commit671a55084649f9e33018b1e5e1af4e28c639bf3b (patch)
tree489e7e03eeed27433a532e48a83b2ce70653fc2a /src
parent076edc6a036cb7601e010b7851eeaa7cfb1aa4e6 (diff)
android: fix building issues of host binaries
Define _GNU_SOURCE to enable features (__USE_XOPEN2K and __USE_UNIX98) required to build the host binaries. Signed-off-by: Chih-Wei Huang <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/Android.mesa_gen_matypes.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/Android.mesa_gen_matypes.mk b/src/mesa/Android.mesa_gen_matypes.mk
index 5521087c4fa..6e301f90416 100644
--- a/src/mesa/Android.mesa_gen_matypes.mk
+++ b/src/mesa/Android.mesa_gen_matypes.mk
@@ -33,7 +33,6 @@ include $(CLEAR_VARS)
LOCAL_MODULE := mesa_gen_matypes
LOCAL_IS_HOST_MODULE := true
-LOCAL_CFLAGS := -D_POSIX_C_SOURCE=199309L
LOCAL_C_INCLUDES := \
$(MESA_TOP)/src/mapi \