summaryrefslogblamecommitdiff
path: root/user/mesa/no-tls.patch
blob: a6b989e8740073edd6cf28bc1d11861355802b83 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                   


                                                                             

                                                                                                                                                     
                              
                     
      
 

                                                 
--- mesa-20.3.5/meson.build.old	2021-03-24 14:10:48.523084000 -0500
+++ mesa-20.3.5/meson.build	2022-05-29 23:43:09.679306824 -0500
@@ -434,12 +434,7 @@
   with_egl = false
 endif
 
-# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
 use_elf_tls = false
-if not ['windows', 'freebsd', 'openbsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
-  pre_args += '-DUSE_ELF_TLS'
-  use_elf_tls = true
-endif
 
 if with_glx != 'disabled'
   if not (with_platform_x11 and with_any_opengl)