mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 18:10:11 +01:00
meson: don't build with USE_ELF_TLS on OpenBSD
OpenBSD does not have TLS
Fixes: a47c525f32 ("meson: build glx")
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5630>
This commit is contained in:
parent
9ac1686422
commit
c97af23b13
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ endif
|
||||||
|
|
||||||
# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
|
# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
|
||||||
use_elf_tls = false
|
use_elf_tls = false
|
||||||
if not ['windows', 'freebsd'].contains(host_machine.system()) and (not with_platform_android or get_option('platform-sdk-version') >= 29)
|
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'
|
pre_args += '-DUSE_ELF_TLS'
|
||||||
use_elf_tls = true
|
use_elf_tls = true
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue