summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-05-11 17:41:54 +0200
committerwm4 <wm4@nowhere>2017-05-11 17:47:33 +0200
commit2b616c0682a894152b06ef7249b32ef17037b3e5 (patch)
treed2714deb7052e11b32437d66c348fa2b2ac6562e /wscript
parentf2961425e770defe7cedc14ee2d4c9d4a53ab203 (diff)
downloadmpv-2b616c0682a894152b06ef7249b32ef17037b3e5.tar.bz2
mpv-2b616c0682a894152b06ef7249b32ef17037b3e5.tar.xz
vo_opengl: drop TLS usage
TLS is a headache. We should avoid it if we can. The involved mechanism is unfortunately entangled with the unfortunate libmpv API for returning pointers to host API objects. This has to be kept until we change the API somehow. Practically untested out of pure laziness. I'm sure I'll get a bunch of reports if it's broken.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 0 insertions, 8 deletions
diff --git a/wscript b/wscript
index e051555545..75925c8098 100644
--- a/wscript
+++ b/wscript
@@ -177,14 +177,6 @@ main_dependencies = [
'req': True,
'deps_any': ['stdatomic', 'gnuc'],
}, {
- 'name': 'c11-tls',
- 'desc': 'C11 TLS support',
- 'func': check_statement('stddef.h', 'static _Thread_local int x = 0'),
- }, {
- 'name': 'gcc-tls',
- 'desc': 'GCC TLS support',
- 'func': check_statement('stddef.h', 'static __thread int x = 0'),
- }, {
'name': 'librt',
'desc': 'linking with -lrt',
'deps': [ 'pthreads' ],