Added
Link Here
|
1 |
--- meson.build.orig 2024-10-25 19:42:43 UTC |
2 |
+++ meson.build |
3 |
@@ -509,6 +509,8 @@ if not have_mtls_dialect |
4 |
# cross-compiling, but because this is just an optimization we can skip it |
5 |
if meson.is_cross_build() and not meson.can_run_host_binaries() |
6 |
warning('cannot auto-detect -mtls-dialect when cross-compiling, using compiler default') |
7 |
+ elif host_machine.system() == 'freebsd' |
8 |
+ c_cpp_args += '-ftls-model=initial-exec' |
9 |
else |
10 |
# The way to specify the TLSDESC dialect is architecture-specific. |
11 |
# We probe both because there is not a fallback guaranteed to work for all |