1 maintain option to control elf-tls
3 not suitable for upstream
5 --- meson.build 2022-03-21 08:03:41.891463306 -0700
6 +++ meson.build 2022-03-21 08:10:47.811295661 -0700
9 if (not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and
10 (not with_platform_android or get_option('platform-sdk-version') >= 29) and
11 - (not with_platform_windows or not with_shared_glapi))
12 + (not with_platform_windows or not with_shared_glapi) and (get_option('elf-tls') != false))
13 pre_args += '-DUSE_ELF_TLS'
16 --- meson_options.txt 2022-03-21 08:11:01.301024612 -0700
17 +++ meson_options.txt 2022-03-21 08:11:26.626742487 -0700
19 description : 'Enable execmem support. Without execmem, glapi will fail to generate dynamic glapi stubs when entrypoints unknown to glapi but known to DRI drivers are requested in eglGetProcAddress or glXGetProcAddress. This should be enabled unless the platform can guarantee glapi and DRI drivers are always built from the same source tree.'
25 + description : 'Enable thread-local storage in GLX and EGL'