mirror of https://gitlab.com/nakst/essence
Don't PARALLEL_BUILD build_core on MSYS(Windows) as it results in occastional deadlocks
This commit is contained in:
parent
f9692c722a
commit
e81347a68b
|
@ -392,7 +392,12 @@ void BuildUtilities() {
|
||||||
}
|
}
|
||||||
|
|
||||||
BUILD_UTILITY("render_svg", "-lm", "");
|
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", "");
|
BUILD_UTILITY("build_core", "-pthread -DPARALLEL_BUILD", "");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Build(int optimise, bool compile) {
|
void Build(int optimise, bool compile) {
|
||||||
|
|
Loading…
Reference in New Issue