Merge pull request #79875 from bruvzg/mingw_force_sep_ds

[MinGW] Force separate debug symbols if executable size is larger than 1.9 GB.
This commit is contained in:
Rémi Verschelde
2024-02-13 17:22:46 +01:00
2 changed files with 16 additions and 14 deletions

View File

@@ -134,7 +134,7 @@ if env["d3d12"]:
)
if not os.getenv("VCINSTALLDIR"):
if env["debug_symbols"] and env["separate_debug_symbols"]:
if env["debug_symbols"]:
env.AddPostAction(prog, run_in_subprocess(platform_windows_builders.make_debug_mingw))
if env["windows_subsystem"] == "gui":
env.AddPostAction(prog_wrap, run_in_subprocess(platform_windows_builders.make_debug_mingw))