Message ID | 1532629726-17441-2-git-send-email-john.stultz@linaro.org |
---|---|
State | New |
Headers | show |
Series | [1/3,v2] util: Android.mk: Convert implicit rules to static pattern rules | expand |
diff --git a/Android.common.mk b/Android.common.mk index 397dc03..3585470 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -89,6 +89,12 @@ LOCAL_CPPFLAGS += \ LOCAL_CONLYFLAGS += \ -std=c99 +# c11 timespec_get is part of bionic as well +# https://android-review.googlesource.com/c/718518 +ifneq ($(shell [ "$(MESA_ANDROID_MAJOR_VERSION)" \< "Q" ]; echo $$?),0) +LOCAL_CFLAGS += -DHAVE_TIMESPEC_GET +endif + ifeq ($(strip $(MESA_ENABLE_ASM)),true) ifeq ($(TARGET_ARCH),x86) LOCAL_CFLAGS += \