mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
FreeBSD: Disable support for "-mtls-dialect" for FreeBSD
Clang 19 supports "-mtls-dialect=" but FreeBSD does not support "-mtls-dialect=gnu2". Skip auto-detection for FreeBSD. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31931>
This commit is contained in:
parent
e49df902b4
commit
f9fc7392fa
1 changed files with 2 additions and 0 deletions
|
|
@ -525,6 +525,8 @@ if not have_mtls_dialect
|
|||
# cross-compiling, but because this is just an optimization we can skip it
|
||||
if meson.is_cross_build() and not meson.can_run_host_binaries()
|
||||
warning('cannot auto-detect -mtls-dialect when cross-compiling, using compiler default')
|
||||
elif host_machine.system() == 'freebsd'
|
||||
warning('cannot use -mtls-dialect for FreeBSD, using compiler default')
|
||||
else
|
||||
# The way to specify the TLSDESC dialect is architecture-specific.
|
||||
# We probe both because there is not a fallback guaranteed to work for all
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue