Don't PARALLEL_BUILD build_core on MSYS(Windows) as it results in occastional deadlocks

This commit is contained in:
Martin Lisowski 2025-01-07 15:32:09 +01:00
parent f9692c722a
commit e81347a68b
1 changed files with 5 additions and 0 deletions

View File

@ -392,7 +392,12 @@ void BuildUtilities() {
}
BUILD_UTILITY("render_svg", "-lm", "");
#ifdef __MSYS__
// On MSYS/Windows parallel build gets often hung/deadlocked
BUILD_UTILITY("build_core", "-pthread", "");
#else
BUILD_UTILITY("build_core", "-pthread -DPARALLEL_BUILD", "");
#endif
}
void Build(int optimise, bool compile) {