aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2018-07-24 12:46:40 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-24 12:46:40 -0700
commit59915fd7a69012b9f308ee1c16067095fd56b5ff (patch)
treef64d8587649776aba390bb53825ec7a43a32595f
parent64a37ba6cfd04731a61f727d641657a682a94677 (diff)
parent8ead3127aa0d1259aad39131d450f50f8a2af7e5 (diff)
downloadmesa3d-59915fd7a69012b9f308ee1c16067095fd56b5ff.tar.gz
Merge "Android.bp: define HAVE_TIMESPEC_GET" am: b72dd1fbdd
am: 8ead3127aa Change-Id: Ic8cf2f0b151c6dff127cfeca4747fd9e8917655b
-rw-r--r--Android.common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index e8aed48c31a..488ff8d5af5 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -87,6 +87,10 @@ LOCAL_CPPFLAGS += \
LOCAL_CONLYFLAGS += \
-std=c99
+# c11 timespec_get is part of bionic as well
+# https://android-review.googlesource.com/c/718518
+LOCAL_CFLAGS += -DHAVE_TIMESPEC_GET
+
ifeq ($(strip $(MESA_ENABLE_ASM)),true)
ifeq ($(TARGET_ARCH),x86)
LOCAL_CFLAGS += \