Default to using a threaded checker on Windows; Add -no-threaded-checker for Windows

This commit is contained in:
gingerBill
2021-07-24 18:00:19 +01:00
parent 481fc8a5b6
commit 92f3567ee6
2 changed files with 24 additions and 0 deletions

View File

@@ -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