From bb0452442a77570fce529cbb3d9fd99a94f3b50e Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Sun, 4 Jun 2017 12:53:01 +0800 Subject: Android: use bionic pthread_barrier_* if possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pthread_barrier_* functions were introduced to bionic since Nougat. Signed-off-by: Chih-Wei Huang Acked-by: Tapani Pälli Acked-by: Emil Velikov --- Android.common.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'Android.common.mk') diff --git a/Android.common.mk b/Android.common.mk index 57c31fc7e99..44ad97b6be2 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -44,6 +44,7 @@ LOCAL_CFLAGS += \ # It's likely due to a bug elsewhere, but let's temporarily add them # here to fix the radeonsi build. LOCAL_CFLAGS += \ + -DANDROID_API_LEVEL=$(PLATFORM_SDK_VERSION) \ -DENABLE_SHADER_CACHE \ -D__STDC_CONSTANT_MACROS \ -D__STDC_LIMIT_MACROS \ -- cgit v1.2.3