From c8d296ae4b9ce3c6f122d5dd6bd4295a7d0459bc Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Tue, 21 Jun 2022 15:33:07 +0800 Subject: [PATCH] meson: Remove usage of use_elf_tls After c47fd3dc006 ("windows: Use TLS context/dispatch with shared-glapi") use_elf_tls are always setting to true, so we can remove it safety Signed-off-by: Yonggang Luo Reviewed-by: Emil Velikov Part-of: --- meson.build | 1 - src/meson.build | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 1e9dc44bd60..8da10d9fe00 100644 --- a/meson.build +++ b/meson.build @@ -504,7 +504,6 @@ foreach platform : _platforms pre_args += '-DHAVE_@0@_PLATFORM'.format(platform.to_upper()) endforeach -use_elf_tls = true pre_args += '-DUSE_ELF_TLS' if with_platform_android and get_option('platform-sdk-version') >= 29 diff --git a/src/meson.build b/src/meson.build index 8700088e54b..1e9a39b52df 100644 --- a/src/meson.build +++ b/src/meson.build @@ -152,7 +152,7 @@ if with_glx != 'disabled' and not with_glvnd libraries : libgl, libraries_private : gl_priv_libs, requires_private : gl_priv_reqs, - variables : ['glx_tls=@0@'.format(use_elf_tls ? 'yes' : 'no')], + variables : ['glx_tls=yes'], ) endif