diff options
author | Chih-Wei Huang <[email protected]> | 2017-06-04 12:53:01 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-06-05 14:06:35 +0100 |
commit | bb0452442a77570fce529cbb3d9fd99a94f3b50e (patch) | |
tree | ba2dceef2ac2c957290c19be5bcd125e4f2d0239 /Android.common.mk | |
parent | 06f4251925af65d7f8d7e2f6041ab3a0a9f4c0dd (diff) |
Android: use bionic pthread_barrier_* if possible
The pthread_barrier_* functions were introduced to bionic
since Nougat.
Signed-off-by: Chih-Wei Huang <[email protected]>
Acked-by: Tapani Pälli <[email protected]>
Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'Android.common.mk')
-rw-r--r-- | Android.common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |