aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-24 18:00:19 +0100
committergingerBill <bill@gingerbill.org>2021-07-24 18:00:19 +0100
commit92f3567ee6e28ac07f237e9dbe7287436954877b (patch)
treede7c22340b094ab39b313b31c59d4943b9dc01eb /src/build_settings.cpp
parent481fc8a5b60cf15df8b87872adbf0dfd03060e78 (diff)
Default to using a threaded checker on Windows; Add `-no-threaded-checker` for Windows
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp4
1 files changed, 4 insertions, 0 deletions
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