meson: Do not use GLX_USE_TLS on Android.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 3 Aug 2019 16:13:52 +0000 (18:13 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 3 Aug 2019 16:40:04 +0000 (18:40 +0200)
commitd7ca1efc6c814947af5b0a0c75b40673b61c31c4
tree818b4ab5c3986edd915cd4823fb1d1aa7b0ae430
parent2dd598c129c159b9f939d3e14d862bfa63bc512b
meson: Do not use GLX_USE_TLS on Android.

The asm code expects a specific kind of implementation, but Android
uses something different (emutls).

Turns out mesa has a fallback with pthread_getspecific, with an
optimizaiton if only a single thread is used. emutls also uses
getspecific, so lets just use the optimized mesa implementation.

Fixes: 20294dceebc "mesa: Enable asm unconditionally, now that gen_matypes is gone."
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build