From 92f3567ee6e28ac07f237e9dbe7287436954877b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 24 Jul 2021 18:00:19 +0100 Subject: Default to using a threaded checker on Windows; Add `-no-threaded-checker` for Windows --- src/build_settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/build_settings.cpp') diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 51d8c9b73..22eecd8b9 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -823,6 +823,10 @@ void init_build_context(TargetMetrics *cross_target) { bc->max_align = metrics->max_align; bc->link_flags = str_lit(" "); + #if defined(GB_SYSTEM_WINDOWS) + bc->threaded_checker = true; + #endif + // NOTE(zangent): The linker flags to set the build architecture are different // across OSs. It doesn't make sense to allocate extra data on the heap -- cgit v1.2.3