X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=meson.build;h=7d0373f375377a64aad93d6f8b33317a73c0e2b3;hp=60c50c21dc18d00790597dfef4885bde6ac8a37f;hb=708db983dd08984b0cade15be576497661ef154c;hpb=6cba468b5e79d8885a2a19eff58109b8722ef66b;ds=sidebyside diff --git a/meson.build b/meson.build index 60c50c21dc1..7d0373f3753 100644 --- a/meson.build +++ b/meson.build @@ -422,7 +422,7 @@ if with_egl and not (with_platform_drm or with_platform_surfaceless or with_plat endif # Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS. -if host_machine.system() != 'windows' and (not with_platform_android or get_option('platform-sdk-version') >= 29) +if not ['windows', 'freebsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29) pre_args += '-DUSE_ELF_TLS' endif