diff options
| author | Jon Lipstate <jon@lipstate.com> | 2025-09-03 22:32:33 -0700 |
|---|---|---|
| committer | Jon Lipstate <jon@lipstate.com> | 2025-09-03 22:32:33 -0700 |
| commit | e0c4c5336241cb3106910bec64369888b937132b (patch) | |
| tree | ae56c6d078ae03e6bcfce7f6739cd1812efab428 /src/main.cpp | |
| parent | 231ce2da59cd93b4e8d8a90daca2d2111fc3ecf8 (diff) | |
add tls when we have crt
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index c4646bc9f..198706de2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3619,8 +3619,9 @@ int main(int arg_count, char const **arg_ptr) { // } // Warn about Windows i386 thread-local storage limitations - if (build_context.metrics.arch == TargetArch_i386 && build_context.metrics.os == TargetOs_windows) { - gb_printf_err("Warning: Thread-local storage is disabled on Windows i386.\n"); + if (build_context.metrics.arch == TargetArch_i386 && build_context.metrics.os == TargetOs_windows && build_context.no_crt) { + gb_printf_err("Warning: Thread-local storage is not supported on Windows i386 with -no-crt.\n"); + gb_printf_err(" Multi-threaded code will not work correctly.\n"); } // Check chosen microarchitecture. If not found or ?, print list. |