summaryrefslogtreecommitdiff
path: root/Android.common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.common.mk b/Android.common.mk
index a4ee181b75..edf52d6fab 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -24,7 +24,7 @@
# use c99 compiler by default
ifeq ($(LOCAL_CC),)
ifeq ($(LOCAL_IS_HOST_MODULE),true)
-LOCAL_CC := $(HOST_CC) -std=c99
+LOCAL_CC := $(HOST_CC) -std=c99 -D_GNU_SOURCE
else
LOCAL_CC := $(TARGET_CC) -std=c99
endif