summaryrefslogtreecommitdiff
path: root/user/mesa/no-tls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/mesa/no-tls.patch')
-rw-r--r--user/mesa/no-tls.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/user/mesa/no-tls.patch b/user/mesa/no-tls.patch
deleted file mode 100644
index 803fa3707..000000000
--- a/user/mesa/no-tls.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- mesa-21.3.8/meson.build.old 2022-03-18 14:26:47.000000000 -0500
-+++ mesa-21.3.8/meson.build 2022-05-30 00:00:21.689085198 -0500
-@@ -508,22 +508,7 @@
- error('-Degl-native-platform does not specify an enabled platform')
- endif
-
--# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
- use_elf_tls = false
--if (not ['freebsd', 'openbsd', 'haiku'].contains(host_machine.system()) and
-- (not with_platform_android or get_option('platform-sdk-version') >= 29) and
-- (not with_platform_windows or not with_shared_glapi))
-- pre_args += '-DUSE_ELF_TLS'
-- use_elf_tls = true
--
-- if with_platform_android
-- # By default the NDK compiler, at least, emits emutls references instead of
-- # ELF TLS, even when building targeting newer API levels. Make it actually do
-- # ELF TLS instead.
-- c_args += '-fno-emulated-tls'
-- cpp_args += '-fno-emulated-tls'
-- endif
--endif
-
- if with_glx != 'disabled'
- if not (with_platform_x11 and with_any_opengl)